agentleFS
wasabeefwasabeef/AgentNote/skills/agent-note/SKILL.md

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.

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
  1. Distinctive:

    Use this skill when the user asks to:

    line 18
  2. Distinctive:

    Remove Agent Note hooks and config from a repository.

    line 21
  3. Distinctive:

    Check whether Agent Note is recording correctly.

    line 22
  4. Distinctive:

    Only present these commands as normal user actions:

    line 40
  5. Very specific:

    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.

    line 51
  6. Very specific:

    Run npx agent-note init --agent <name> for the selected agent.

    line 60
  7. Very specific:

    If the user wants the shared Dashboard, use npx agent-note init --agent <name> --dashboard.

    line 61
  8. Very specific:

    Use agent-note deinit when the user wants to remove Agent Note from a repository.

    line 68
  9. Very specific:

    Run npx agent-note deinit --agent <name> for those agents.

    line 72
  10. Very specific:

    Use --remove-workflow only when the user also wants generated PR Report and Dashboard workflows removed.

    line 73
  11. Very specific:

    Use --keep-notes when the user wants to keep notes auto-fetch config.

    line 75
  12. Very specific:

    Check that the workflow uses wasabeef/AgentNote@v1.

    line 85
  13. Distinctive:

    Check workflow permissions for Pull Request writes.

    line 86
  14. Very specific:

    Check that refs/notes/agentnote was pushed and fetched.

    line 87
  15. Very specific:

    Check whether the report says "No tracked commits" versus a true 0% AI Ratio.

    line 88
  16. Distinctive:

    Check the Dashboard workflow run.

    line 98
  17. Distinctive:

    Check GitHub Pages deployment.

    line 99
  18. Distinctive:

    Check the PR number in the Dashboard URL.

    line 101
  19. Very specific:

    Use agent-note why <target> when the user asks why a line changed.

    line 105
  20. Very specific:

    If generated files make AI Ratio misleading, add precise patterns to .agentnoteignore.

    line 125
  21. Distinctive:

    Prefer read-only checks before editing workflow or hook files.

    line 133
  22. Distinctive:

    Never infer AI-authored files from shell-only evidence.

    line 135
  23. Distinctive:

    Ask before committing changes when repository instructions require it.

    line 138

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 why

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. Those commands are internal or automation-facing.

Setup Workflow

  1. Inspect the repository before editing files.
  2. Identify the target coding agent: Claude Code, Codex CLI, Cursor, or Gemini CLI.
  3. Run npx agent-note init --agent <name> for the selected agent.
  4. If the user wants the shared Dashboard, use npx agent-note init --agent <name> --dashboard.
  5. 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.

  1. Identify the target coding agent or agents.
  2. Run npx agent-note deinit --agent <name> for those agents.
  3. Use --remove-workflow only when the user also wants generated PR Report and Dashboard workflows removed.
  4. Use --keep-notes when the user wants to keep notes auto-fetch config.
  5. 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:

  1. Check that the workflow uses wasabeef/AgentNote@v1.
  2. Check workflow permissions for Pull Request writes.
  3. Check that refs/notes/agentnote was pushed and fetched.
  4. 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:

  1. Check the Dashboard workflow run.
  2. Check GitHub Pages deployment.
  3. Check dashboard/notes/*.json data.
  4. 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:7

Summarize 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.

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.