use-citations
AGENTS.md1 starsChanged 2 months agoMITView on GitHub
If someone has asked you to install this skill, these are the steps. Tell them briefly what you're about to do, then do it. 1. Check the basics. You need Python 3.10 or newer (and git, if installing by hand). Run python3 --version; on Windows, run python --version, since python3 there is often a shortcut to the Microsoft Store that prints "Python was not found". If Python is missing or older than 3.10, stop and tell them they can get…
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 repositoryOne other file it gives its agents.
- use-citationsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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
- Distinctive: line 5
If someone has asked you to install this skill, these are the steps.
- Very specific: line 9
Run python3 --version; on Windows, run python --version, since python3 there is often a shortcut to the Microsoft Store that prints "Python …
- Distinctive: line 11
If Python is missing or older than 3.10, stop and tell them they can get it from https://www.python.org/downloads/ (on Windows, tick "Add …
- Very specific: line 25
If it's already installed, run claude plugin marketplace update use-citations and claude plugin update use-citations@use-citations instead.
- Very specific: line 28
If they'd rather not use a plugin, install it by hand as the README describes: clone the repo to ~/.claude/use-citations and link …
- Distinctive: line 40
If it's anything else, don't touch it: tell them what's there and ask.
- Distinctive: line 42
Check it works: Run the test suite from the installed copy.
- Distinctive: line 55
Tell them how to use it: Keep it short:
- Distinctive: line 56
Start a new Claude Code session first, so the plugin loads.
- Very specific: line 59
Add follow-up to ask another question in the same report.
- Very specific: line 77
Don't add disable-model-invocation: true to SKILL.md.
- Very specific: line 82
Run the tests after any change: python3 .claude/skills/use-citations/tests/run.py.
- Distinctive: line 85
Write docs and comments in plain English for people who aren't developers: "the documents" rather than "the corpus", no legal or academic …
≈ “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
Notes for AI agents
Installing use-citations for a user
If someone has asked you to install this skill, these are the steps. Tell them briefly what you're about to do, then do it.
- Check the basics. You need Python 3.10 or newer (and
git, if installing by hand). Runpython3 --version; on Windows, runpython --version, sincepython3there is often a shortcut to the Microsoft Store that prints "Python was not found". If Python is missing or older than 3.10, stop and tell them they can get it from https://www.python.org/downloads/ (on Windows, tick "Add python.exe to PATH" in the installer). It works on macOS, Linux and Windows. On Windows, also check for Tesseract (tesseract --version). It's only needed for scanned PDFs, so if it's missing, tell them they can install it withwinget install UB-Mannheim.TesseractOCRand carry on. On Windows, always use the plugin install, not the hand install, which needs symlinks. Install the plugin. The repo is its own plugin marketplace:
claude plugin marketplace add sshah03/use-citations claude plugin install use-citations@use-citationsIf it's already installed, run
claude plugin marketplace update use-citationsandclaude plugin update use-citations@use-citationsinstead.If they'd rather not use a plugin, install it by hand as the README describes: clone the repo to
~/.claude/use-citationsand link~/.claude/use-citations/.claude/skills/use-citationsinto~/.claude/skills/. Then skip step 3, and in step 4 run the tests from~/.claude/use-citations/.claude/skills/use-citations/tests/run.py.- Look for a hand install. Installing by hand means cloning to
~/.claude/use-citationsand linking~/.claude/skills/use-citationsto it. If that link is still there,/use-citationsruns the old copy instead of the plugin. Check withls -la ~/.claude/skills/use-citations. If it's a link into~/.claude/use-citations, tell them and offer to remove the link (rm ~/.claude/skills/use-citations), and the old folder too if they want the files gone. If it's anything else, don't touch it: tell them what's there and ask. Check it works. Run the test suite from the installed copy. It doesn't need the internet and takes a minute or two:
SK="$(claude plugin list --json | python3 -c "import json,sys; print(next(p['installPath'] for p in json.load(sys.stdin) if p['id'] == 'use-citations@use-citations'))")/.claude/skills/use-citations" python3 "$SK/tests/run.py"On Windows, use
pythonin place ofpython3in both lines.It should end with "0 failed". A few tests are skipped on a fresh install, which is expected. If anything fails, show them the failure rather than carrying on.
- Tell them how to use it. Keep it short:
- Start a new Claude Code session first, so the plugin loads.
- Type
/use-citationsfollowed by a question, for example/use-citations Is there an age limit on claiming my child as a dependent? - Add
follow-upto ask another question in the same report. - The first time they give it a PDF, it sets up a small PDF reader beside the saved documents. That's normal.
To update later: claude plugin marketplace update use-citations, then claude plugin
update use-citations@use-citations. To uninstall: claude plugin uninstall
use-citations@use-citations.
Working on this repo
- The skill is in
.claude/skills/use-citations/.SKILL.mdis what Claude follows when someone types/use-citations; the scripts do the reading, searching, checking and report building. - The repo is also a Claude Code plugin:
.claude-plugin/plugin.jsonpoints at.claude/skills/, and.claude-plugin/marketplace.jsonlists the plugin. Leaveversionout of both, so installs follow new commits. Check them withclaude plugin validate .. In SKILL.md, refer to the skill's own files through${CLAUDE_SKILL_DIR}, never a fixed path, since the folder differs between a plugin install and a project. - Don't add
disable-model-invocation: trueto SKILL.md. Cowork runs a typed skill by having Claude load it, and that setting forbids exactly that, so/use-citationswould show in Cowork's menu and then do nothing. The skill stays typed-only through its description and the first lines of "How it is started" instead.evals/triggers.pychecks that it starts only when typed or asked for by name. - Run the tests after any change:
python3 .claude/skills/use-citations/tests/run.py. Some verifier messages are matched word for word by the tests and by the report page, so don't reword them without updating both. - Write docs and comments in plain English for people who aren't developers: "the documents" rather than "the corpus", no legal or academic jargon where a normal word works.
- Public examples and eval questions must come from public sources (government FAQ pages, public datasets). Don't add questions or examples from anyone's private work.
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.

