agentleFS
fialhosoftfialhosoft/agentlink/.agents/skills/add-provider/SKILL.md

add-provider

Skill1 starsChanged 4 months agoApache-2.0View on GitHub

Add support for a new AI coding agent to agentlink, or correct an existing agent's paths. Use when someone asks to support a tool like Windsurf, Cline, Zed, Roo Code, Amp or Goose, or reports that an agent's directories changed.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. ThinkInAIXYZ/deepchat★ 6.4ksame name
    2. tddworks/ClaudeBar★ 1.5ksame name
    3. pydantic/genai-prices★ 388same name
    4. yerdaulet-damir/vibe-coding-rules★ 28same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check the agent's own documentation, then verify the behaviour — published docs are frequently aspirational or stale.

    line 14
  2. Very specific:

    Create crates/agentlink-domain/providers/<agent-id>.toml.

    line 22
  3. Very specific:

    Prefer native whenever it is true: it means agentlink writes nothing at all.

    line 57

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Adding a provider

Adding an agent to agentlink is one TOML file and zero lines of Rust. The build script enumerates crates/agentlink-domain/providers/*.toml and embeds each one, so there is no list to register in.

1. Find out where the agent actually reads from

Check the agent's own documentation, then verify the behaviour — published docs are frequently aspirational or stale. The two questions:

  • Does it read AGENTS.md, or its own instructions file?
  • Where does it load Agent Skills (SKILL.md folders) from?

2. Write the manifest

Create crates/agentlink-domain/providers/<agent-id>.toml. The id is lowercase kebab-case.

# Agent Name — https://example.com
#
# Cite the documentation establishing each path. Paths change, and the next
# person needs to know where the claim came from.

schema = 1
id = "agent-name"
name = "Agent Name"
homepage = "https://example.com"
docs = "https://example.com/docs/skills"

[[capability]]
resource = "instructions"
strategy = "native"          # this agent reads AGENTS.md directly
path = "AGENTS.md"

[[capability]]
resource = "skills"
strategy = "link"
path = ".agent-name/skills"
note = "Agent Skills open spec; identical SKILL.md format, different directory."

3. Pick the right strategy

StrategyUse whenConstraint enforced at load time
nativethe tool reads the canonical path directlypath must equal AGENTS.md or .agents/skills, or the manifest is rejected
linkidentical format, different location—
importcannot be linked, but the tool has an include directivetemplate must contain {canonical}

Prefer native whenever it is true: it means agentlink writes nothing at all.

Files need a fallback

A file capability cannot be served by a junction, and Windows symlinks require Developer Mode or elevation. So if the resource is a file and the agent has an include syntax, declare it:

[[capability]]
resource = "instructions"
strategy = "link"
path = "AGENTNAME.md"

[capability.fallback]
strategy = "import"
template = "@{canonical}\n"     # whatever include syntax the agent supports

Without this, unprivileged Windows users get blocked instead of a working setup. Directories (skills) never need a fallback — junctions always work.

4. Verify

cargo test -p agentlink-domain registry

The registry test suite parses every shipped manifest and asserts its invariants, so mistakes fail immediately rather than on a user's machine.

Then test it for real:

cargo run -p agentlink-cli -- providers    # the new agent should appear
cargo run -p agentlink-cli -- status

Best of all: put a skill in .agents/skills/hello/SKILL.md, run agentlink apply, start the actual agent, and confirm it discovers the skill. Attach that result to the pull request — it is the part no automated check can do.

5. Try it without rebuilding

Dropping the same file in a workspace's .agentlink/providers/ overrides built-ins by id and takes effect immediately. That is how users unblock themselves when an agent changes paths upstream, and the file is exactly what becomes the pull request.

Commit

feat(providers): add agent-name

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.