agentleFS
zhengyanxiongzhengyanxiong/skills/AGENTS.md

skills

AGENTS.md1 starsChanged 5 months agoMITView on GitHub

Skills can be installed into any of the following agent config directories: dsh is the DeepSeek Harness CLI. It scans user skills from $DSH_HOME/skills; set DSH_HOME if your install lives elsewhere and the resolved path follows it. To install for a specific agent: Override the config directory with --agent-dir: The add command clones the remote repository, discovers SKILL.md files, copies them to the local repo, creates symlinks to agent directories, and updates skills.manifest.json for tracking. Each skill lives in a…

The file

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

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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. Very specific:

    Every skill must include SKILL.md with YAML frontmatter.

    line 70
  2. Distinctive:

    No compile step. Run validation:

    line 87
  3. Very specific:

    Use Conventional Commits: feat:, fix:, docs:, refactor:, test:.

    line 115
  4. Distinctive:

    Keep commits scoped to one skill or tool change.

    line 116

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

Repository Guidelines

Supported Agents

Skills can be installed into any of the following agent config directories:

Agent IDConfig Directory
codex~/.codex/skills
claude-code~/.claude/skills
opencode~/.config/opencode/skills
kimi~/.kimi/skills
hermes~/.hermes/skills
minimax~/.minimax/skills
dsh$DSH_HOME/skills (default ~/.dsh/skills)

dsh is the DeepSeek Harness CLI. It scans user skills from $DSH_HOME/skills; set DSH_HOME if your install lives elsewhere and the resolved path follows it.

To install for a specific agent:

python3 skills.py install --agent codex
python3 skills.py install --agent claude-code

Override the config directory with --agent-dir:

python3 skills.py install --agent-dir codex=/custom/path

Install Skills From Remote Sources

# GitHub shorthand (owner/repo)
python3 skills.py add owner/repo

# Specific path inside a repo
python3 skills.py add owner/repo/path/to/skills

# Full git URL
python3 skills.py add https://github.com/owner/repo.git

# Limit to specific agents
python3 skills.py add owner/repo --agent claude-code --agent hermes

The add command clones the remote repository, discovers SKILL.md files, copies them to the local repo, creates symlinks to agent directories, and updates skills.manifest.json for tracking.

Commands

CommandDescription
listList all local skills
add <source>Install skills from a remote GitHub repo or git URL
statusShow symlink install status per agent
installCreate symlinks for all local skills
uninstallRemove skill symlinks
doctorValidate local skills and manifest
outdatedCheck for upstream updates
syncSync upstream source updates
sources listList source manifest entries
sources addAdd source entry to manifest
sources removeRemove source entry from manifest

Project Structure

Each skill lives in a top-level directory named with lowercase letters, digits, and hyphens. Every skill must include SKILL.md with YAML frontmatter.

skills-repo/
├── skill-name/
│   ├── SKILL.md          # Required: skill description and instructions
│   ├── references/       # Optional: long-form docs
│   ├── scripts/          # Optional: executable helpers
│   └── data/             # Optional: lookup tables
├── skills.py             # Core CLI tool
├── skills.manifest.json  # Source tracking manifest
├── skills                # Linux/macOS entry point
└── skills.ps1            # Windows entry point

Build & Test

No compile step. Run validation:

python3 skills.py doctor           # Validate all skills
python3 skills.py status           # Show per-agent link status (no writes)
python3 -m pytest tests/           # Run tests (pytest, not unittest discover)

Windows: python skills.py … or .\skills.ps1 …. Symlinks need SeCreateSymbolicLinkPrivilege; the CLI falls back to a directory junction when that is unavailable, so no elevation is required. Links go through create_link() / remove_link() / link_target() — never call os.symlink directly, and never assume a link is a symlink (Path.is_symlink() is False for junctions).

Coding Style

  • Skill directory names are lowercase and hyphenated. For skills authored here they match the name frontmatter value; skills collected from upstream repositories keep their upstream directory name (often prefixed, such as ua- or *-skill, to avoid clashes), so doctor reports those as [warn] ... (directory alias). What must never happen is two skills sharing one frontmatter name — agents load skills by that name.
  • SKILL.md under 500 lines; move details to references/
  • Shell scripts: set -euo pipefail
  • Python: type-annotated, stdlib only (no external deps)

Commit Guidelines

Use Conventional Commits: feat:, fix:, docs:, refactor:, test:. Keep commits scoped to one skill or tool change.

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.