skills
AGENTS.md2 starsChanged 6 months agoMITView on GitHub
This file tells AI agents how to maintain and publish this package. Add commands/<command-name>.md: bash node .claude/skills/<skill-name>/scripts/run.js "$1" \ Edit bin/cli.js — add entry to CATALOG: Add the new skill to the table in README.md. In package.json, bump the version: - New skill → minor bump (1.0.0 → 1.1.0) - Fix/improvement → patch bump (1.0.0 → 1.0.1) Every change follows this exact sequence: All scripts/run.js files MUST: After publishing, sync updated skills back to saas-blog:
- Reads credentials
- Commits and pushes
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 repository16 other files it gives its agents.
- adclaw-host-ai-accountingSkill
- adclaw-host-opsSkill
- anycrawl-instagram-scraperSkill
- anycrawl-social-extractorSkill
- anycrawl-tiktok-scraperSkill
- anycrawl-youtube-video-extractorSkill
- code-review-agent-teamSkill
- codex-symphonySkill
- domain-hunterSkill
- html-presentation-deckSkill
- icon-designSkill
- prompt-analyzerSkill
- schema-markupSkill
- skill-quality-evalSkill
- spawning-planSkill
- token-usageSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 85
Add the new skill to the table in README.md.
- Very specific: line 143
After publishing, sync updated skills back to saas-blog:
≈ “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
Agent Instructions — Citedy Skills
This file tells AI agents how to maintain and publish this package.
Repository
- GitHub: https://github.com/Citedy/skills
- npm: https://www.npmjs.com/package/@citedy/skills
- Local path:
/Users/dmitrisergeev/Dev/citedy-skills
Directory Structure
citedy-skills/
├── package.json # npm package config (bump version here)
├── bin/cli.js # CLI installer (npx @citedy/skills install)
├── skills/ # All skills live here
│ ├── <skill-name>/
│ │ ├── SKILL.md # Claude Code skill definition
│ │ ├── scripts/run.js # Executable extractor script
│ │ ├── references/ # Docs for the skill
│ │ └── agents/ # OpenAI/Codex agent configs
├── commands/ # Slash command templates
│ └── <command-name>.md
├── AGENTS.md # This file
├── README.md # Public documentation
├── LICENSE # MIT
└── .env.exampleAdding a New Skill
Skill Types
- Extraction skills — have
scripts/run.js, require API keys (e.g., AnyCrawl) - Knowledge skills — SKILL.md + references only, no scripts, no API keys (e.g., schema-markup, icon-design)
- Agent Team skills — require Claude Code Agent Teams API (TeamCreate, TaskCreate, SendMessage)
1. Create skill directory
skills/<skill-name>/
├── SKILL.md # Required — Claude Code reads this
├── scripts/run.js # Optional — executable Node.js script (extraction skills)
├── references/ # Optional — docs, notes, checklists
└── agents/openai.yaml # Optional — Codex/OpenAI config2. Create slash command
Add commands/<command-name>.md:
---
description: Short description of what the command does
---
Treat `$1` as a required URL/input.
If `$1` is missing, ask the user and stop.
Run:
\```bash
node .claude/skills/<skill-name>/scripts/run.js "$1"
\```
Then read the JSON summary and present key fields to the user.3. Register in CLI catalog
Edit bin/cli.js — add entry to CATALOG:
const CATALOG = {
// ... existing entries
newskill: {
skill: "skill-directory-name",
command: "command-name.md",
description: "One-line description",
},
};4. Update README.md
Add the new skill to the table in README.md.
5. Bump version
In package.json, bump the version:
- New skill → minor bump (1.0.0 → 1.1.0)
- Fix/improvement → patch bump (1.0.0 → 1.0.1)
Publishing Workflow
Every change follows this exact sequence:
# 1. Verify everything works
cd /Users/dmitrisergeev/Dev/citedy-skills
node bin/cli.js list
# 2. Commit and push to GitHub
git add -A
git commit -m "feat: add <skill-name> skill"
git push origin main
# 3. Publish to npm
npm publish --access publicFirst-time npm setup
# Login to npm (one-time)
npm login
# Verify @citedy scope is available
npm whoamiVersion bumping shortcut
npm version patch # 1.0.0 → 1.0.1 (fixes)
npm version minor # 1.0.0 → 1.1.0 (new skills)
npm version major # 1.0.0 → 2.0.0 (breaking changes)Script Requirements
All scripts/run.js files MUST:
- Read API keys from environment or
.env.local— never hardcode - Use relative paths —
path.resolve(__dirname, ...)for sibling references - Write output to
/tmp/— JSON artifact with full extraction - Print compact JSON summary to stdout — for Claude to parse
- Print errors to stderr —
console.error(), thenprocess.exit(1) - Handle non-JSON API responses — try/catch around
JSON.parse - Work with Node.js 18+ — no ESM-only dependencies
Sync to saas-blog
After publishing, sync updated skills back to saas-blog:
# From saas-blog root
for skill in skills/*/; do
name=$(basename "$skill")
cp -R /Users/dmitrisergeev/Dev/citedy-skills/skills/$name .claude/skills/$name
cp -R /Users/dmitrisergeev/Dev/citedy-skills/skills/$name .agents/skills/$name
doneDoes 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.

