agentleFS
harlan-zwharlan-zw/skilld/AGENTS.md

skilld

AGENTS.md336 starsChanged 54 days agoMITView on GitHub

Read GLOSSARY.md before changing public names, commands, errors, routes, or documentation. Use focused commands during development: Regenerate the skilld.dev public API contract, then check every Rust type against it: Score the skilld-maintained Skills against scaffolded projects: Every case runs a real Agent session and costs money. Read evals/README.md before changing a case or a grader. Run the same cases with opencode on a flat-rate model: The native skilld CLI searches, runs, installs, lists, views, removes, updates, and verifies Skills. It…

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. skilld-dev/skilld★ 336100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    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.

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository6 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read GLOSSARY.md before changing public names, commands, errors, routes, or documentation.

    line 3
  2. Distinctive:

    Use focused commands during development:

    line 15
  3. Very specific:

    Every case runs a real Agent session and costs money.

    line 38
  4. Distinctive:

    Run the same cases with opencode on a flat-rate model:

    line 41
  5. Very specific:

    If no root key exists, fail with TRUSTED_ROOT_UNCONFIGURED.

    line 88
  6. Distinctive:

    Keep generation code outside every CLI crate and the root npm loader.

    line 96
  7. Distinctive:

    Use tagged results for expected failures.

    line 97
  8. Very specific:

    Keep direct instructions visible in skills.

    line 101
  9. Very specific:

    Keep Harness enforcement in packages/harness.

    line 102
  10. Distinctive:

    Never add a JavaScript CLI engine or fallback.

    line 103
  11. Very specific:

    Before modifying code, evaluate each installed skill against the current task.

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “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
AGENTS.md

AGENTS.md

Read GLOSSARY.md before changing public names, commands, errors, routes, or documentation.

Commands

pnpm install
pnpm test:run
pnpm lint
pnpm typecheck
pnpm build

Use focused commands during development:

pnpm test:loader
pnpm --filter skilld-protocol test:run
pnpm --filter skilld-harness test:run
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings

Regenerate the skilld.dev public API contract, then check every Rust type against it:

pnpm --filter skilld-sdk generate
cargo test -p skilld-core --test api_contract

Score the skilld-maintained Skills against scaffolded projects:

./scripts/eval-skills.sh

Every case runs a real Agent session and costs money. Read evals/README.md before changing a case or a grader.

Run the same cases with opencode on a flat-rate model:

pnpm eval:opencode

Product boundary

The native skilld CLI searches, runs, installs, lists, views, removes, updates, and verifies Skills. It also manages account authentication and Agent target configuration. It reads the skilld.dev registry and acts for a skilld.dev account through the public API.

skilld run loads a transient Skill: it prints the Skill and installs nothing. The calling Agent follows the instructions. The CLI never executes them.

The skilld CLI contains no Skill generation logic or Agent runtime.

skilld-harness runs visible skilld-maintained Skills for generation and review. Agents can run the same Skill files directly without the Harness.

Direct runs remain user reviewed. Harness and CI runs enforce strict output checks.

Architecture

  • crates/skilld-core: shared Rust domain types and Agent target rules
  • crates/skilld-command: command parsing and local Skill operations
  • crates/skilld-auth: PKCE, callback, refresh, logout, and keychain contracts
  • crates/skilld-native: native operating system adapters and executable
  • crates/skilld-wasi: internal WASIp2 proof
  • bin and loader: minimal npm native executable selector
  • packages/cli-*: system specific native npm packages
  • packages/harness: JavaScript Harness package
  • packages/protocol: Artifact delivery wire contract
  • packages/sdk: public API contract, OpenAPI generator, and typed client
  • skills: visible skilld-maintained Skills

The npm package has no JavaScript CLI fallback. The WASIp2 package remains private until write behavior reaches native parity.

Artifact delivery

The skilld CLI uses the skilld.dev API for remote Skills. GitHub remains the source of truth.

The CLI verifies exact statement bytes, signatures, digests, and archive structure. Production verification must start from a compiled trusted root key. If no root key exists, fail with TRUSTED_ROOT_UNCONFIGURED.

Private Repository delivery requires account authentication and a GitHub App installation. Direct mode supports public GitHub Repositories only. Direct mode records the unverified source status.

Change rules

  • Keep generation code outside every CLI crate and the root npm loader.
  • Use tagged results for expected failures.
  • Parse untrusted input once at its boundary.
  • Pass clients, clocks, keys, and storage as explicit dependencies.
  • Test exported behavior.
  • Keep direct instructions visible in skills.
  • Keep Harness enforcement in packages/harness.
  • Never add a JavaScript CLI engine or fallback.
<!-- skilld -->

Before modifying code, evaluate each installed skill against the current task. For each skill, determine YES or NO relevance and invoke all YES skills before proceeding.

<!-- /skilld -->

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.