> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to use Agent Skills in your projects

> Learn how Agent Skills extend what you can build with Replit Agent - what they are, how to apply them, and a framework for getting better results.

export const AiPrompt = ({children}) => {
  return <CodeBlock className="relative block font-sans whitespace-pre-wrap break-words">
      <div className="pr-7">
        {children}
      </div>
    </CodeBlock>;
};

export const WistiaEmbed = ({videoId, title = "Wistia video", playerColor = "FF0000", controlsVisibleOnLoad = false}) => {
  if (!videoId) {
    return null;
  }
  const url = "https://fast.wistia.net/embed/iframe/" + videoId + "?seo=false&playerColor=" + playerColor + "&controlsVisibleOnLoad=" + controlsVisibleOnLoad;
  return <Frame>
      <iframe src={url} title={title} allow="autoplay; fullscreen" allowFullScreen></iframe>
    </Frame>;
};

Skills teach Agent new capabilities. They let you share your expertise, preferred patterns, and specialized knowledge with Agent so it produces better, more consistent results.

<WistiaEmbed videoId="keyfj26s57" title="Master Agent Skills: The game-changing framework for AI-assisted development" />

## Why skills matter

Every time you build with Agent, you create useful context such as solutions to problems, design decisions, or framework preferences. But that context disappears when the chat ends. Skills preserve it.

A GSAP animation skill teaches Agent how to use a specific library correctly. A design system skill ensures it applies your exact colors and spacing rules. A bug fix skill captures a solution so Agent doesn't repeat the same mistake. Tasks that were previously inconsistent become reliable.

Skills are also an [open standard](https://agentskills.io/specification). They work with any agent, including Replit Agent, so you can carry them between tools.

## Quick start: use a skill in chat

The fastest way to try skills is to attach one to a message:

<Steps>
  <Step title="Open the skill picker">
    Click the **+** button next to the chat input and select **Use a skill**.
  </Step>

  <Step title="Browse and select a skill">
    Browse skills by category — Business & finance, Creative, Research & analysis, and more. Select one or more skills to attach to your message.
  </Step>

  <Step title="Send your message">
    Type your request and send. Agent uses the selected skill for that message only. The skill chip appears on your message so you can see which skills are active.
  </Step>
</Steps>

For example, select **Stock Analyzer** and ask Agent to build an equity research report, or pick **Deep Research** to have Agent investigate a complex topic with structured findings.

<Tip>
  You don't need to install anything to use skills from the chat picker. They're available instantly in every project.
</Tip>

## Install skills in your project

When you want Agent to apply a skill consistently across every conversation in a project, install it. Installed skills live in your project's `/.agents/skills` directory and persist across chat sessions.

### Discover and install from the Skills pane

Open the **Skills pane** in the Project Editor and select the **Discover** tab to search community-contributed skills. Find a skill you want, click **Install**, and it's added to your project automatically.

<Frame>
  <img src="https://mintcdn.com/replit/gerX13Tz1112Sdux/images/replitai/agent-skills-discover.png?fit=max&auto=format&n=gerX13Tz1112Sdux&q=85&s=25ed47eb8abea795f960b132c3e44b61" alt="Discover skills tab showing searchable community-contributed skills with install buttons" width="2542" height="1850" data-path="images/replitai/agent-skills-discover.png" />
</Frame>

For example, when building a [portfolio site](https://palmer.gg) with advanced animations, you might install:

* **GSAP React** — Teaches Agent scroll-triggered animations, text reveals, and SVG path drawing
* **Tailwind design system** — Gives Agent knowledge of Tailwind CSS patterns for typography, spacing, and view transitions
* **Find skills** — Teaches Agent how to discover and install new skills on your behalf

<Tip>
  You can also install skills via the [npx skills CLI](https://github.com/vercel-labs/skills):

  ```bash theme={null}
  npx skills <skill> -a replit
  ```
</Tip>

### Create skills through conversation

The most natural way to create a skill is through conversation with Agent. After solving a problem together or researching a new library, ask Agent to capture what it learned:

<AiPrompt>
  Research best practices for GSAP React integration and create a skill for this project.
</AiPrompt>

Agent uses the full conversation context to write a detailed skill file. This works particularly well after debugging sessions where you've built up shared understanding of a problem.

### Write custom skills

For advanced use cases, write skills directly following the [Agent Skills specification](https://agentskills.io/specification). Toggle **Show Hidden Files** in the file sidebar, open `/.agents/skills/`, and create a new Markdown file. This gives you complete control over what Agent knows and how it behaves.

## Proactive vs. reactive skills

This is a framework for thinking about when and how to create skills. Understanding both patterns makes you more effective.

### Proactive skills

Proactive skills are ones you add *before* you start building. You research the libraries or patterns you want to use, find or create skills for them, and then start prompting.

**Real example:** Before building a portfolio site with handwritten SVG animations, you research animation libraries and find GSAP. You install a GSAP React skill, then prompt Agent to build the animations. Agent has the specialized knowledge it needs from the start - it understands the library's API, best practices, and common patterns. Without the skill, it might produce something generic or incorrect.

This pattern works well when:

* You're using a library that's popular but has nuanced patterns Agent may not nail on its own
* You want consistent design choices across the project (typography, spacing, animation style)
* You're starting a project and already know the technical direction

### Reactive skills

Reactive skills are ones you create *after* solving a problem. You encounter an issue, debug it with Agent, fix it, and then capture the solution so it doesn't happen again.

**Real example:** While building a canvas for a mobile app, you notice jagged edges on images that get worse when zooming in. Debugging with Agent reveals this is minification aliasing - a rendering issue where images look worse as they shrink, counterintuitively. After implementing a fix, you ask Agent to create a skill:

<AiPrompt>
  Create a skill that captures what we just learned about fixing minification aliasing. Include the root cause, the solution, and when this issue typically occurs so you can prevent it in the future.
</AiPrompt>

Agent uses the conversation history to write a project-specific skill. Next time the issue comes up, you can point Agent to the skill instead of debugging from scratch.

This pattern works well when:

* You've fixed a non-obvious bug and want to prevent it from recurring
* You've learned something about your app's architecture during a debugging session
* You want to encode a solution that took significant effort to discover

## Being selective with skills

Think of skills like directions you'd give a friend to find your apartment. A targeted list of instructions works. A binder full of documentation doesn't - nobody has time to read that, and the important details get lost.

The same applies to Agent. If you add too many skills, Agent can get confused. Be deliberate about which skills you enable for a given project, and remove ones you no longer need.

<Note>
  Skills work best when they capture specific, repeatable patterns rather than general guidance. Focus on concrete workflows, established conventions, and proven solutions.
</Note>

## Security considerations

Skills from the Replit Skills pane are audited for safety. But skills can be installed from anywhere—they come from an [open source repository](https://github.com/vercel-labs/skills) where anyone can contribute.

Since skills are instructions that Agent follows, a malicious skill could tell Agent to exfiltrate sensitive data from your project. Before installing any skill from an external source:

1. **Open the file** - Skills are just markdown. Read the contents in `/.agents/skills/` before using them.
2. **Check the source** - Verify the skill comes from a trusted repository or author.
3. **Review what it instructs** - Make sure the skill doesn't reference suspicious external URLs or request sensitive information.

<Warning>
  Always review skills from external sources before installing them. Skills in the Replit Skills pane have been audited, but skills installed via CLI or copied from the internet have not.
</Warning>

## Skills vs. MCP servers

These are the two main ways to extend agents in 2026, and they serve different purposes.

**Skills** are context-efficient. Only a brief description loads until the skill is invoked. Use skills for:

* Workflows and conventions ("how to deploy," "code review checklist")
* Reference materials (API patterns, style guides, design systems)
* Reusable prompts and specialized knowledge (animation libraries, framework patterns)

**MCP servers** are context-heavy. All tool descriptions load upfront, which can degrade output quality if you add too many. Use MCP servers for:

* Connecting to external services (Notion, Linear, Figma)
* Actions that need API access
* Tools that *do* things, not just instruct

The key distinction: skills define *how* your agent should work. MCP servers define *what* your agent can access. Both work for coding agents like Replit Agent and for agents you build yourself with tools like the [Claude Agent SDK](/tutorials/claude-agent-sdk).

## Next steps

* Read the [Agent Skills reference](/core-concepts/agent/skills) for technical details on skill structure and management
* Browse community skills at [skills.sh](https://skills.sh)
* Review the [Agent Skills specification](https://agentskills.io/specification) to write your own
* Learn more about [Agent](/core-concepts/agent) and how it builds applications
* Explore [MCP servers on Replit](/replitai/mcp/overview) for connecting Agent to external services
