ai-skills-library
AGENTS.md0 starsChanged 6 months agoMITView on GitHub
Instructions and workflow rules for any AI agent (Claude Code, Cursor, Codex, etc.) working with this repository. Read this file fully before touching anything. danielvogler/ai-skills-library is a curated, version-locked distribution of Agent Skills — plain Markdown instruction files that AI coding assistants invoke to perform specialised tasks. It aggregates skills from multiple official upstream GitHub repositories and makes them installable with a single command. Canonical skill files live under .agents/skills/<name>/SKILL.md. Agent-specific directories (.claude/skills/, .gemini/skills/, .codex/skills/) contain symlinks into .agents/. Provenance…
- Reads credentials
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 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 repository82 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adding-dbt-unit-testSkill
- adk-agent-builderSkill
- adk-architectureSkill
- adk-debugSkill
- adk-sample-creatorSkill
- adk-setupSkill
- adk-styleSkill
- answering-natural-language-questions-with-dbtSkill
- api-and-interface-designSkill
- auditing-skillsSkill
- aws-ami-builderSkill
- azure-image-builderSkill
- azure-verified-modulesSkill
- babysit-prSkill
- browser-testing-with-devtoolsSkill
- building-dbt-semantic-layerSkill
- ci-cd-and-automationSkill
- code-breaking-changesSkill
- code-review-and-qualitySkill
- code-review-change-sizeSkill
- code-review-contextSkill
- code-reviewSkill
- code-review-testingSkill
- code-simplificationSkill
- codex-pr-bodySkill
- configuring-dbt-mcp-serverSkill
- context-engineeringSkill
- creating-mermaid-dbt-dagSkill
- debugging-and-error-recoverySkill
- deep-agents-coreSkill
- deep-agents-memorySkill
- deep-agents-orchestrationSkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- fetching-dbt-docsSkill
- final-checksSkill
- frontend-ui-engineeringSkill
- gemini-api-devSkill
- gemini-interactions-apiSkill
- gemini-live-api-devSkill
- github-actionsSkill
- githubSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- incremental-implementationSkill
- interview-meSkill
- karpathy-guidelinesSkill
- migrating-dbt-core-to-fusionSkill
- migrating-dbt-project-across-platformsSkill
- new-terraform-providerSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- provider-actionsSkill
- provider-docsSkill
- provider-resourcesSkill
- provider-test-patternsSkill
- push-to-registrySkill
- react-native-best-practicesSkill
- The first 60 shown.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
26 rules. About 0 are common, 13 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 17
Before working with this repo, verify these tools are available:
- Distinctive: line 27
Check everything is present:
- Very specific: line 145
All unreleased changes go under ## [Unreleased]
- Very specific: line 146
When cutting a release, rename [Unreleased] to ## [x.y.z] — YYYY-MM-DD and add a new empty [Unreleased] section above it
- Distinctive: line 147
Do not add changelog entries for CI-only or docs-only changes unless they affect how contributors use the repo
- Very specific: line 178
Run npx skills update to lock the hash in skills-lock.json
- Very specific: line 180
Update CHANGELOG.md under ## [Unreleased] → ### Added
- Very specific: line 181
Update profiles/*.json — add to every profile where this skill belongs
- Very specific: line 186
Create .agents/skills/<name>/SKILL.md following the agentskills spec, then add symlinks in .claude/skills/, .gemini/skills/, and …
- Very specific: line 187
Do not add it to skills-lock.json manually — local skills are intentionally absent from the lock
- Very specific: line 189
Add to CHANGELOG.md, relevant profiles/*.json, and README.md
- Distinctive: line 199
Do this before starting any other skill work to avoid stale-hash conflicts.
- Distinctive: line 213
Every time you add or remove a skill, ask: does this skill belong in one or more profiles?
- Distinctive: line 230
Keep profiles lean: include what the team actually needs, not everything tangentially related
- Very specific: line 241
Add or remove the skill row under the correct ### section.
- Very specific: line 245
If a new upstream was added: add a row with owner/repo, SPDX license ID, and skill count.
- Distinctive: line 246
If a skill count changed: update the count for that upstream.
- Very specific: line 251
Update the number in ![Skills] at the top of README.md.
- Distinctive: line 257
Do NOT update README for internal refactors, hook changes, or CI-only changes.
- Distinctive: line 263
Before committing a skill (local or upstream):
- Distinctive: line 278
After opening a PR, do not push additional commits unless addressing review feedback
- Very specific: line 284
Do not edit skills-lock.json manually — the CLI manages it
- Very specific: line 285
Do not commit .env, *.key, *.pem, or anything under secrets/
- Distinctive: line 286
Do not amend commits that have already been pushed
- Distinctive: line 287
Do not squash or rebase on main without explicit instruction
- Distinctive: line 288
Do not add skills to profiles that haven't been added to the repo yet
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.
Files
AGENTS.md
Instructions and workflow rules for any AI agent (Claude Code, Cursor, Codex, etc.) working with this repository. Read this file fully before touching anything.
What this repo is
danielvogler/ai-skills-library is a curated, version-locked distribution of Agent Skills — plain Markdown instruction files that AI coding assistants invoke to perform specialised tasks. It aggregates skills from multiple official upstream GitHub repositories and makes them installable with a single command.
Canonical skill files live under .agents/skills/<name>/SKILL.md. Agent-specific directories (.claude/skills/, .gemini/skills/, .codex/skills/) contain symlinks into .agents/. Provenance and content hashes are locked in skills-lock.json. This repo ships no application code.
Prerequisites
Before working with this repo, verify these tools are available:
| Tool | Purpose | Install |
git | Version control | pre-installed on most systems |
gh | GitHub CLI — PRs, releases, API access | brew install gh or https://cli.github.com |
node / npx | skills CLI — add, update, remove skills | https://nodejs.org or brew install node |
pipx | Run skills-ref validate without a venv | brew install pipx |
python3 | Scripting and hash computation | pre-installed on macOS |
Check everything is present:
git --version && gh --version && npx --version && pipx --versionInitial setup
# 1. Clone the repo
git clone https://github.com/danielvogler/ai-skills-library.git
cd ai-skills-library
# 2. Pull latest upstream skill content
npx skills update
# 3. Authenticate gh if not already done
gh auth loginUsing skills in another project
# Install a single skill into a project — always pass --agent explicitly
# (see "Known issue" notes below for why)
cd ~/work/my-project
npx skills add danielvogler/ai-skills-library --skill terraform-skill --agent claude-code
# Install a curated team profile (see profiles/ directory)
curl -sL https://raw.githubusercontent.com/danielvogler/ai-skills-library/main/scripts/install-profile.sh \
| bash -s analytics-engineering
# List all available skills
npx skills add danielvogler/ai-skills-library --list
# Global install (all agents on this machine)
npx skills add danielvogler/ai-skills-library --skill karpathy-guidelines -g
# Target a specific agent (Cursor, etc.)
npx skills add danielvogler/ai-skills-library --skill terraform-skill --agent cursorKnown issue: direct GitHub installs from this repo currently fail with
No valid skills found— theskillsCLI misreads our ownskills-lock.jsonas the target project's "already installed" lock and filters out every skill. Use./scripts/install-from-clone.sh --skill <name>instead (see the README's Troubleshooting section for details). This is an upstream CLI bug, not a problem with the skill names in this repo.Always pass
--agentexplicitly. Omitting it lets theskillsCLI auto-detect the agent you're running in and silently install to every "universal" agent directory it knows about (15+ agents) plus the detected one — there's no interactive agent picker once the CLI detects it's running inside an agent.--agent claude-code(orcursor,opencode,gemini, etc.) restricts the install to exactly the agent you name.
Commit convention
Use Conventional Commits.
<type>(<scope>): <short imperative description>Types:
| Type | When to use |
feat | A new skill or profile is added |
fix | A bug or error in an existing skill is corrected |
chore | Dependency sync (npx skills update), lock file update, tooling |
docs | README, CONTRIBUTING, CHANGELOG, or other documentation only |
ci | GitHub Actions workflow changes |
refactor | Reorganising skill files or profile structure without changing content |
remove | A skill or profile is deleted |
Scopes (use the skill name, profile name, or area):
feat(gcp-bigquery): add BigQuery skill
fix(langgraph-state-machines): correct checkpointer example
chore(lock): sync upstream skills
docs(readme): add team profiles section
ci(validate): add skills validation workflowOne commit per logical unit of work. Do not batch unrelated skill additions into a single commit.
Changelog
Maintain CHANGELOG.md using Keep a Changelog format. Update it in the same commit as the change — never retroactively.
## [Unreleased]
### Added
- `gcp-bigquery` skill — BigQuery SQL, partitioning, cost optimisation
### Changed
- `langgraph-state-machines` — updated checkpointer API examples for LangGraph 0.3
### Fixed
- `gitlab-cicd-basics` — corrected `needs` vs `dependencies` explanation
### Removed
- `deprecated-skill-name` — superseded by `new-skill-name`Rules:
- All unreleased changes go under
## [Unreleased] - When cutting a release, rename
[Unreleased]to## [x.y.z] — YYYY-MM-DDand add a new empty[Unreleased]section above it - Do not add changelog entries for CI-only or docs-only changes unless they affect how contributors use the repo
Skills workflow
Where skills live in this repo
Canonical skill files live in .agents/skills/<name>/SKILL.md. Agent-specific directories (.claude/skills/, .gemini/skills/, .codex/skills/) are symlinks into .agents/ — zero duplication. When downstream projects install FROM this repo, the --agent flag controls where skills land on their machine:
# Claude Code
npx skills add danielvogler/ai-skills-library --skill terraform-skill --agent claude-code
# Cursor
npx skills add danielvogler/ai-skills-library --skill terraform-skill --agent cursor
# OpenCode
npx skills add danielvogler/ai-skills-library --skill terraform-skill --agent opencode
# Gemini CLI
npx skills add danielvogler/ai-skills-library --skill terraform-skill --agent geminiThe CLI reads skill content from .agents/skills/ in this repo and installs it into the agent-appropriate directory in the target project. Skills themselves (SKILL.md) are agent-agnostic Markdown — the directory location is the only agent-specific thing.
Adding a skill from an upstream source
npx skills add <owner>/<repo> --copy --skill <name> --agent claude-code -yThen immediately — all four steps are mandatory, not optional:
- Run
npx skills updateto lock the hash inskills-lock.json - Validate:
pipx run --spec git+https://github.com/agentskills/agentskills.git#subdirectory=skills-ref skills-ref validate .agents/skills/<name> - Update
CHANGELOG.mdunder## [Unreleased] → ### Added - Update
profiles/*.json— add to every profile where this skill belongs - Update
README.md— both the "Skills by Domain" table AND the "Upstream sources" table (count + license). The pre-commit hook will block your commit if README.md is not staged when skills-lock.json changes.
Authoring a local skill (no upstream)
- Create
.agents/skills/<name>/SKILL.mdfollowing the agentskills spec, then add symlinks in.claude/skills/,.gemini/skills/, and.codex/skills/pointing to../../.agents/skills/<name> - Do not add it to
skills-lock.jsonmanually — local skills are intentionally absent from the lock - Validate it:
pipx run --spec git+https://github.com/agentskills/agentskills.git#subdirectory=skills-ref skills-ref validate .agents/skills/<name> - Add to
CHANGELOG.md, relevantprofiles/*.json, andREADME.md
Syncing upstreams
npx skills update
git add skills-lock.json .agents/skills/ .claude/skills/ .gemini/skills/ .codex/skills/
git commit -m "chore(lock): sync upstream skills"Do this before starting any other skill work to avoid stale-hash conflicts.
Removing a skill
npx skills remove <name>Then remove it from any profiles/*.json that reference it, update README.md, and add a ### Removed entry to CHANGELOG.md.
Profiles
Every time you add or remove a skill, ask: does this skill belong in one or more profiles?
Profiles live in profiles/<name>.json. Each file has this shape:
{
"name": "<profile-name>",
"description": "One sentence describing the team this is for.",
"skills": [
"skill-name-one",
"skill-name-two"
]
}Rules:
- Skills in a profile must exist in
.agents/skills/— do not reference skills that haven't been added yet - Keep profiles lean: include what the team actually needs, not everything tangentially related
full-stack.jsonis auto-derived — do not hand-edit it; it always lists every skill in the lock file
README maintenance
Every skill addition or removal requires three README changes. This is enforced by the pre-commit hook.
Skills by Domain table
Add or remove the skill row under the correct ### section. If it comes from a new upstream source, add a new section. Keep the skill count in the section heading accurate.
Upstream sources table
- If a new upstream was added: add a row with
owner/repo, SPDX license ID, and skill count. - If a skill count changed: update the count for that upstream.
- License must be the actual SPDX ID from the repo — check with
gh api repos/<owner>/<repo> --jq '.license.spdx_id'. If no LICENSE file exists, writeno license fileand add a footnote.
Skill count badge
Update the number in [] at the top of README.md.
What else triggers a README update
- Profile added or changed → update "Team Profiles" section
- Install command or CLI flags change → update "Quick install" section
- Do NOT update README for internal refactors, hook changes, or CI-only changes.
Quality bar for skills
Before committing a skill (local or upstream):
skills-ref validatepasses with no errors- The skill has a clear, specific trigger condition — agents must know exactly when to invoke it
- Examples in the skill use real, runnable commands (not pseudocode)
- No secrets, tokens, or personal data appear anywhere in the skill files
- The skill name is kebab-case and matches the directory name exactly
Branch and PR rules
- Branch name:
<type>/<short-description>— e.g.feat/gcp-skills,fix/langgraph-checkpointer,chore/sync-upstreams - One PR per domain or logical batch — do not mix GCP skills and GitLab skills in one PR
- PR title must follow the same conventional commit format as the commit messages
- After opening a PR, do not push additional commits unless addressing review feedback
What NOT to do
- Do not edit
skills-lock.jsonmanually — the CLI manages it - Do not commit
.env,*.key,*.pem, or anything undersecrets/ - Do not amend commits that have already been pushed
- Do not squash or rebase on
mainwithout explicit instruction - Do not add skills to profiles that haven't been added to the repo yet
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
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.

