Guides
    amp-code
    sourcegraph
    skill-md

    Amp Code Skills: How to Use SKILL.md with Sourcegraph's Coding Agent (2026)

    How to install and use SKILL.md skills in Amp Code, Sourcegraph's AI coding agent. Directory paths, setup, and how Amp's code intelligence makes skills more powerful.

    May 26, 20265 min read
    Share:

    Quick Answer: Amp Code supports SKILL.md skills in project and personal directories. Skills load automatically when Amp detects a matching task. Amp's Sourcegraph code intelligence means skills can reference cross-repository context that other agents miss, making skills more effective on large codebases. Install community skills from agensi.io/skills or write your own.

    Amp Code is Sourcegraph's AI coding agent, rebranded from Cody in 2026. It brings Sourcegraph's decade of code intelligence infrastructure to agentic coding: cross-repository search, dependency chain analysis, and usage pattern indexing. This makes Amp uniquely powerful for large codebases.

    Skills make Amp even better by giving it domain-specific instructions for tasks like code review, testing, documentation, and architecture decisions. The combination of Amp's code intelligence and SKILL.md skills is particularly strong because Amp can apply your skill's instructions across repository boundaries that other agents can't see.

    Where Amp Code stores skills

    Amp Code reads skills from two locations:

    Project skills: .amp/skills/ in your repository root. These are shared with your team when committed to the repo. Every developer who clones the project gets the same skills.

    Personal skills: ~/.amp/skills/ in your home directory. These apply to all your projects and aren't shared with anyone.

    Each skill is a folder containing a SKILL.md file with YAML frontmatter (name and description) and markdown instructions. Amp reads the frontmatter at session start and loads the full skill when a task matches the description.

    Using Agensi skills

    Connect your MCP-compatible agent to Agensi, choose a skill and ask the agent to use it on your task. Approve any required purchase. The latest approved instructions load through get_skill on each use. Never write any part of the skill to disk; your licence does not allow you to save, copy or export it.

    What makes skills different in Amp Code

    Amp's Sourcegraph integration gives skills an advantage that other agents don't have. When a code review skill runs in Claude Code, it sees the files in your current project. When the same skill runs in Amp Code, it can trace references across every repository in your Sourcegraph instance.

    A code review skill checking an API change in Amp can automatically find every downstream consumer of that API across your entire organization. In Claude Code, the same skill would only see the current repo. This makes Amp the strongest agent for enterprise teams with complex multi-repository architectures.

    Best skills for Amp Code users

    Code review: Essential for any agent. In Amp, code review skills are more powerful because they can cross-reference implementations across repositories. A review of your authentication service checks how every other service calls it.

    API documentation: Amp's code intelligence indexes API shapes across your entire codebase. A documentation skill can generate docs that include every caller and usage pattern, not just the function signature.

    Migration and refactoring: Amp excels at large-scale refactors because it understands the full dependency graph. A migration skill that instructs the agent to check all callers before changing an interface works best when the agent can actually see all the callers.

    Architecture review: Skills that check for architectural violations (circular dependencies, layer breaches, improper access patterns) are most effective when the agent has full codebase visibility. Amp provides this.

    Amp Code vs Claude Code: skills comparison

    Both support the same SKILL.md format. A skill written for Claude Code works in Amp Code and vice versa. The differences are in how the agent uses the skill, not the skill itself.

    Claude Code has the larger skills ecosystem (500+ on Agensi). Amp has better code intelligence for applying those skills across large codebases. Most developers use both: Claude Code for general tasks and Amp for cross-repository work.

    For a detailed comparison, read Amp Code vs Claude Code vs Cursor.

    Frequently Asked Questions

    Amp Code stores skills in two locations: project-specific skills in `.amp/skills/` within the repository root, and personal skills in `~/.amp/skills/` in the user's home directory.

    Amp reads the YAML frontmatter (name and description) from SKILL.md files at the start of a session. The full skill is then loaded when Amp detects a task that matches the skill's description.

    Users can install community skills by downloading ZIP files from agensi.io/skills and unzipping them into one of the skill directories. Alternatively, users can add the Agensi MCP server to their Amp config to install skills mid-conversation or clone skill repositories directly from GitHub.

    Amp Code's integration with Sourcegraph allows skills to reference cross-repository context, enabling them to trace references and apply instructions across an entire organization's codebase, unlike other agents that are limited to a single project.

    Code review, API documentation, migration and refactoring, and architecture review skills are particularly effective with Amp Code. This is due to Amp's ability to understand full dependency graphs and gain codebase visibility across multiple repositories.

    Both Amp Code and Claude Code support the same SKILL.md format, so a skill written for one works in the other. The key difference lies in how the agent utilizes the skill; Amp Code leverages Sourcegraph's code intelligence for cross-repository applications, while Claude Code has a larger skills ecosystem.

    Project skills in Amp Code are stored in the `.amp/skills/` directory within your repository root. These skills are shared with your team when committed to the repository, ensuring all developers working on the project have access to the same skills.

    Personal skills are located in `~/.amp/skills/` in your home directory. These skills apply to all your projects and are not shared, allowing for personalized task instructions across various coding efforts.