agent-note
Skill15 starsChanged 7 months agoMITView on GitHub
Use this skill when the user wants to set up Agent Note, inspect Agent Note history, understand why a line changed, troubleshoot PR Report or Dashboard output, or exclude generated files from AI Ratio. Do not use it for generic git history, generic commit writing, or non-Agent-Note review tasks.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agentnote-releaseSkill
- coderabbit-reviewSkill
- ui-ux-pro-maxSkill
- agentnote-releaseSkill
- coderabbit-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 11 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use this skill when the user asks to:
- Distinctive: line 21
Remove Agent Note hooks and config from a repository.
- Distinctive: line 22
Check whether Agent Note is recording correctly.
- Distinctive: line 40
Only present these commands as normal user actions:
- Very specific: line 51
Do not make agent-note pr, agent-note hook, agent-note record, agent-note commit, or agent-note push-notes the user's primary action.
- Very specific: line 60
Run npx agent-note init --agent <name> for the selected agent.
- Very specific: line 61
If the user wants the shared Dashboard, use npx agent-note init --agent <name> --dashboard.
- Very specific: line 68
Use agent-note deinit when the user wants to remove Agent Note from a repository.
- Very specific: line 72
Run npx agent-note deinit --agent <name> for those agents.
- Very specific: line 73
Use --remove-workflow only when the user also wants generated PR Report and Dashboard workflows removed.
- Very specific: line 75
Use --keep-notes when the user wants to keep notes auto-fetch config.
- Very specific: line 85
Check that the workflow uses wasabeef/AgentNote@v1.
- Distinctive: line 86
Check workflow permissions for Pull Request writes.
- Very specific: line 87
Check that refs/notes/agentnote was pushed and fetched.
- Very specific: line 88
Check whether the report says "No tracked commits" versus a true 0% AI Ratio.
- Distinctive: line 98
Check the Dashboard workflow run.
- Distinctive: line 99
Check GitHub Pages deployment.
- Distinctive: line 101
Check the PR number in the Dashboard URL.
- Very specific: line 105
Use agent-note why <target> when the user asks why a line changed.
- Very specific: line 125
If generated files make AI Ratio misleading, add precise patterns to .agentnoteignore.
- Distinctive: line 133
Prefer read-only checks before editing workflow or hook files.
- Distinctive: line 135
Never infer AI-authored files from shell-only evidence.
- Distinctive: line 138
Ask before committing changes when repository instructions require it.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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 Note
Agent Note records the AI conversation, changed files, and AI Ratio for each commit by storing data in git notes.
When To Use This Skill
Use this skill when the user asks to:
- Set up Agent Note in a repository.
- Remove Agent Note hooks and config from a repository.
- Check whether Agent Note is recording correctly.
- Inspect recent Agent Note history.
- Show the Agent Note data behind a commit.
- Explain why a file line changed using Agent Note.
- Enable or troubleshoot the PR Report.
- Enable or troubleshoot the Dashboard.
- Exclude generated files or bundles from AI Ratio.
Do Not Use This Skill For
- Generic git history, git blame, or commit-writing tasks without Agent Note.
- Running internal Agent Note renderers directly for normal users.
- Editing git notes as if they were a task database.
- Proving implementation correctness. Agent Note records intent and evidence; review still needs the diff and tests.
Public Commands
Only present these commands as normal user actions:
agent-note init
agent-note deinit
agent-note status
agent-note log
agent-note show
agent-note whyDo not make agent-note pr, agent-note hook, agent-note record,
agent-note commit, or agent-note push-notes the user's primary action.
Those commands are internal or automation-facing.
Setup Workflow
- Inspect the repository before editing files.
- Identify the target coding agent: Claude Code, Codex CLI, Cursor, or Gemini CLI.
- Run
npx agent-note init --agent <name>for the selected agent. - If the user wants the shared Dashboard, use
npx agent-note init --agent <name> --dashboard. - Review the generated agent config, GitHub workflow, and git hook changes before asking the user to commit.
Deinit Workflow
Use agent-note deinit when the user wants to remove Agent Note from a
repository.
- Identify the target coding agent or agents.
- Run
npx agent-note deinit --agent <name>for those agents. - Use
--remove-workflowonly when the user also wants generated PR Report and Dashboard workflows removed. - Use
--keep-noteswhen the user wants to keep notes auto-fetch config. - Review changed hook, workflow, and agent config files before committing.
PR Report Workflow
PR Report is normally produced by the GitHub Action generated by
agent-note init. Do not ask the user to run the local PR renderer directly.
When troubleshooting:
- Check that the workflow uses
wasabeef/AgentNote@v1. - Check workflow permissions for Pull Request writes.
- Check that
refs/notes/agentnotewas pushed and fetched. - Check whether the report says "No tracked commits" versus a true
0%AI Ratio.
Dashboard Workflow
Dashboard is enabled with dashboard: true in the Agent Note action, usually
generated by agent-note init --dashboard.
When troubleshooting:
- Check the Dashboard workflow run.
- Check GitHub Pages deployment.
- Check
dashboard/notes/*.jsondata. - Check the PR number in the Dashboard URL.
Why Workflow
Use agent-note why <target> when the user asks why a line changed.
Supported target styles include:
src/app.ts:42
src/app.ts:42-55
src/app.ts#L42
src/app.ts#L42-L55
@src/app.ts#L42
https://github.com/owner/repo/blob/main/src/app.ts#L42
file:///workspace/repo/src/app.ts#L42
vscode://file/workspace/repo/src/app.ts:42:7Summarize the evidence level clearly. Agent Note can show the commit and related prompts for a line, but exact line-to-prompt attribution may not exist.
AI Ratio Workflow
If generated files make AI Ratio misleading, add precise patterns to
.agentnoteignore.
Explain that ignored files still appear in Agent Note history, PR Report, and Dashboard. They are only removed from AI Ratio math.
Safety Rules
- Prefer read-only checks before editing workflow or hook files.
- Preserve existing hooks and workflows; update carefully instead of replacing.
- Never infer AI-authored files from shell-only evidence.
- Tell the user before pushing notes to a public repository if prompts or responses may contain secrets.
- Ask before committing changes when repository instructions require it.
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.

