plugins/base/skills/note/SKILL.md
Capture session context as a structured, frontmatter-rich markdown note under .rp1/work/notes/ with auto-maintained index and log.
npx skillsauth add rp1-run/rp1 noteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Distill session context into a succinct, frontmatter-rich markdown note. One note per invocation. Notes persist under .rp1/work/notes/ w/ auto-maintained index and append-only log.
Use the pre-resolved workRoot from the generated Resolve Arguments section. All note paths resolve against workRoot -- never relative to a worktree.
Set NOTES_DIR = {workRoot}/notes.
Read the note template for format reference:
plugins/base/skills/artifact-templates/templates/note/note.md
Use this template as the canonical structure for the note file. Do not deviate from the frontmatter schema or section order.
Derive a descriptive title from session context (or TOPIC if provided). The title MUST communicate the note's subject at a glance.
Slugify title: lowercase, hyphens for spaces, strip non-alphanumeric chars.
File path: {NOTES_DIR}/{yyyy-mm-dd}-{title-slug}.md
Populate all required fields per template:
| Field | Source |
|-------|--------|
| date | Today (YYYY-MM-DD) |
| title | Generated semantic title |
| tags | Inferred from session context; 2-5 tags |
| related | Wikilink cross-references to relevant notes/artifacts (see below) |
| source_context | One-line summary of session context |
| status | active (always) |
Infer related entries from session context:
[[{note-filename-without-ext}]]../features/rp1-note/requirements.md)Include only contextually evident references. Do not fabricate connections.
Four fixed sections. Omit any section w/ no content for this session.
| Section | Content | |---------|---------| | Context | Why this note exists. 1-3 sentences. | | Decisions | Bullet list: each item states decision + rationale. | | Findings | Bullet list: key discoveries/facts. Factual, no hedging. | | References | Wikilinks and URLs only; no prose. |
MUST capture only the essence: decisions, rationale, findings, actionable links. Drop transcript noise, hedging, conversational back-and-forth, verbose restatements. Each section serves a distinct purpose -- no overlap.
If AFK=false (default, interactive):
{file path}? (confirm / edit / cancel)"If AFK=true:
{NOTES_DIR} directory exists (create if absent).{NOTES_DIR}/{yyyy-mm-dd}-{title-slug}.md.File: {NOTES_DIR}/index.md
If absent, create w/ header:
# Notes Index
| Date | Title | Tags | Summary |
|------|-------|------|---------|
Insert new entry at the top of the table body (below header row). Format:
| {yyyy-mm-dd} | [{title}]({filename}) | {comma-separated tags} | {one-line summary} |
Existing entries MUST remain unmodified.
File: {NOTES_DIR}/log.md
If absent, create w/ header:
# Notes Log
Append new entry at end of file:
- {yyyy-mm-dd} | {title} | {capture reason -- one line explaining why this note was captured}
Existing entries MUST remain unmodified.
After successful write, emit artifact registration:
rp1 agent-tools emit \
--type artifact_registered \
--data '{"path": "notes/{yyyy-mm-dd}-{title-slug}.md", "storageRoot": "work_dir", "format": "markdown"}'
If the emit fails, log a warning and continue. The note file is already written; registration failure MUST NOT block.
Report to the user:
Note captured: {title}
Path: {workRoot}/notes/{yyyy-mm-dd}-{title-slug}.md
Tags: {tags}
Index: updated
Log: appended
tools
Plan and execute splitting a large PR or branch into a reviewable stacked PR sequence.
development
Write maximally terse agent prompts from scratch. Use when creating new agent specs, command prompts, or instruction sets. Teaches structure-first composition with compression-by-default patterns. Extended with constitutional governance, epistemic stance selection, and a six-stage prompt pipeline.
development
Interactive speedrun loop for small, low-risk changes. Delegates each request to a general sub-agent. Redirects larger work to /build-fast or /build.
development
Quick-iteration development for small/medium scope changes with persistent artifacts and optional review.