Agent skill
notes
Collect and process inline editing notes from chapters. Finds %%NOTE:%%, %%EDIT:%%, %%CHECK:%%, and %%CUT:%% markers.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/notes
SKILL.md
Scan chapters for inline editing notes and present them for processing.
Note Format
While reading your manuscript, add inline notes using Obsidian's comment syntax:
%%NOTE: observation or question%%
%%EDIT: specific change needed%%
%%CUT: text that should be removed%%
%%CHECK: continuity or fact to verify%%
These are invisible in Obsidian's reading view but visible when editing.
What This Does
- Greps all chapter files for
%%.*%%patterns - Extracts notes with chapter name and line number
- Groups by type (EDIT, NOTE, CHECK, CUT)
- Presents them for review or processing
Usage
/fiction:notes # List all notes across chapters
/fiction:notes 5 # List notes in chapter 5 only
/fiction:notes --process # Work through notes one by one
/fiction:notes --clear # Remove all processed notes
If arguments provided: $ARGUMENTS
Output Format
## Editing Notes
### EDIT (4 items)
- **Chapter 2, line 3:** damp wool repeated
- **Chapter 7, line 45:** awkward transition
- **Chapter 12, line 88:** unclear antecedent
- **Chapter 12, line 92:** word echo "silent/silence"
### CHECK (2 items)
- **Chapter 2, line 21:** was this asked in ch1?
- **Chapter 9, line 156:** timeline - is this before or after the party?
### NOTE (1 item)
- **Chapter 15, line 200:** consider expanding this moment
### CUT (1 item)
- **Chapter 3, line 67:** this paragraph feels redundant
Processing Modes
List Mode (default)
Shows all notes grouped by type. Good for getting an overview.
Process Mode (--process)
Works through notes one at a time:
- Shows the note with surrounding context (5 lines before/after)
- Offers options: Fix it, Skip, Delete note
- For EDIT/CUT: suggests specific changes
- For CHECK: investigates and reports findings
- Removes the
%%marker%%after processing
Clear Mode (--clear)
Removes all %%.*%% markers from chapters. Use after you've addressed everything.
When to Use
- During read-throughs: add notes as you spot issues
- Before revision: collect all notes to plan your editing session
- After revision: clear processed notes
Workflow
- Read chapters, adding
%%EDIT:%%,%%NOTE:%%, etc. as you go - Run
/fiction:notesto see everything collected - Run
/fiction:notes --processto work through them systematically - Run
/fiction:notes --clearwhen done
Implementation
When executing this command:
- Find all notes:
grep -rn '%%[A-Z]*:' chapters/*.md
-
Parse each match: Extract type, content, file, line number
-
Group by type: EDIT, NOTE, CHECK, CUT (and any others)
-
For --process mode:
- Read context around each note
- Present with options
- Apply changes if requested
- Remove the marker after processing
Related Commands
/fiction:edit— Automated line-level editing/fiction:review— Story and craft feedback/fiction:continuity— Cross-chapter consistency checks
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?