pin
Skill10 starsChanged 39 days agoMITView on GitHub
Pin session decisions, questions, objections, scope constraints, and corrections to a persistent board that survives context compaction. Use PROACTIVELY when: (1) user approves/rejects a recommendation, (2) user asks a clarifying question about a proposal, (3) user states a scope constraint, (4) user corrects a misunderstanding. Also use when user says pin, track this, mark as approved, board, show pins. Auto-invoke without user asking whenever a decision, question, or constraint is detected.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- hazarsozer/ren-ostheir own version, first seen Sep 4, 2026
- svy04/ballasttheir own version, first seen Aug 23, 2026
- chanjarster/skillstheir own version, first seen Jul 26, 2026
- lawrips/skillstheir own version, first seen Apr 26, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- svy04/ballast★ 73same name
- hazarsozer/ren-os★ 2same name
- lawrips/skills★ 2same name
- chanjarster/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/development/biome-complete/AGENTS.mdAGENTS.md
- skills/development/bun-development/AGENTS.mdAGENTS.md
- skills/development/commanderjs/AGENTS.mdAGENTS.md
- skills/documentation/markdown-authoring/AGENTS.mdAGENTS.md
- skills/package-mgmt/mise-complete/AGENTS.mdAGENTS.md
- skills/testing/bdd-testing/AGENTS.mdAGENTS.md
- agents-mdSkill
- cache-auditSkill
- context-radar-auditSkill
- create-contextSkill
- guided-interviewSkill
- handover-document-creatorSkill
- load-contextSkill
- pick-modelSkill
- professional-honestySkill
- rules-managementSkill
- save-contextSkill
- session-reflectionSkill
- socratic-methodSkill
- vault-captureSkill
- vault-consolidateSkill
- vault-fetchSkill
- vault-searchSkill
- bird-fortune-political-satireSkill
- brooker-esque-media-satireSkill
- clarke-dawe-esqueSkill
- comedy-style-skill-generatorSkill
- cunk-esque-mockumentarySkill
- gervais-esque-cringe-satireSkill
- monty-python-esqueSkill
- pryor-esque-confessional-standupSkill
- rock-esque-observational-standupSkill
- biome-completeSkill
- bun-developmentSkill
- commanderjsSkill
- conventional-commitsSkill
- humanizerSkill
- journal-entry-importSkill
- markdown-authoringSkill
- mermaid-diagramsSkill
- plain-englishSkill
- professional-communicationSkill
- sop-structureSkill
- logql-generatorSkill
- mise-completeSkill
- context-indexSkill
- create-context-fileSkill
- follow-upSkill
- goal-trackerSkill
- nasa-pm-lessonsSkill
- plan-createSkill
- plan-executeSkill
- plan-reviewSkill
- risk-registerSkill
- tech-debtSkill
- tech-evaluationSkill
- blast-radiusSkill
- bridgeSkill
- challengeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 8 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
After responding to any user message where a decision was made, a question was asked about a proposal, or a constraint was stated, …
- Very specific: line 83
Read existing file or init {"items":[],"next_id":1}
- Very specific: line 84
Check if content already pinned (exact match on content field) → if so, respond ⚠️ Already pinned.
- Distinctive: line 85
Check limits: 5 items per type, 20 total.
- Very specific: line 93
If file missing or items empty: 📋 Pin board is empty.
- Very specific: line 107
If no number: ⚠️ Usage: /pin rm <number>
- Very specific: line 109
Read PINS_FILE, find item with id === n
- Very specific: line 110
If not found: ⚠️ Pin #N not found.
- Distinctive: line 111
Remove item, write file
- Very specific: line 121
Remove items where type is approved or pending
- Very specific: line 122
Keep items where type is killed, scope, or correction
- Distinctive: line 129
When a category is full, drop the oldest item of that type (lowest id)
- Distinctive: line 137
One-line responses only: Never add commentary about pin content.
- Distinctive: line 138
Resume immediately: After any pin command, pick up the prior conversation exactly where it left off.
- Distinctive: line 139
Store verbatim: No cleanup, no categorization, no reformulation of user's words.
- Very specific: line 141
Gotcha — emoji parsing: Always split on the first emoji character, not the first space.
- Very specific: line 191
GOOD: leave gaps and let next_id only ever increment.
- Distinctive: line 215
GOOD: check the board first and pin only genuine decisions and constraints.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pin — Session Decision Board
Persist decisions, questions, constraints, and corrections to a JSON file that survives context compaction. A companion hook injects the board into every tool call so the model never forgets.
Auto-Invoke Rules
After responding to any user message where a decision was made, a question was asked about a proposal, or a constraint was stated, IMMEDIATELY invoke /pin with the appropriate category. Do not ask permission — just pin it.
Examples of auto-invoke triggers:
- User: "yes go with bun" → respond normally, then
/pin ✅ use bun - User: "what about the latency impact?" → respond normally, then
/pin ❓ split services — latency impact? - User: "no skip auth for now" → respond normally, then
/pin ❌ auth layer — skip for MVP - User: "MVP only, max 3 files" → respond normally, then
/pin 📌 MVP only, max 3 files - User: "no I meant artisans not developers" → respond normally, then
/pin 🔧 target = artisans, not developers
Do NOT pin:
- Casual conversation, greetings
- Implementation details (code changes, file edits)
- Things already pinned (check board first)
Commands
| Command | Action |
/pin ✅ <text> | Pin approved item |
/pin ❓ <text> | Pin pending question |
/pin ❌ <text> | Pin killed/rejected item |
/pin 📌 <text> | Pin scope constraint |
/pin 🔧 <text> | Pin correction |
/pin show or /pin | Display current board |
/pin rm <n> | Remove pin by number |
/pin clear | Clear all pins |
/pin clear triage | Clear ✅/❓ only, keep 📌/❌/🔧 |
State File
Path: a session-scoped .session-logs/<slug>/pins.json file under a configurable base directory.
Derive slug from CWD:
GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
REL_PATH="${PWD#$GIT_ROOT/}"
SLUG=$(echo "$REL_PATH" | tr '/' '-')
PINS_DIR="$PRAXIS_DIR/.session-logs/$SLUG"
PINS_FILE="$PINS_DIR/pins.json"Schema:
{
"items": [
{
"id": 1,
"type": "approved",
"emoji": "✅",
"content": "use bun everywhere",
"detail": "",
"ts": "2026-04-01T14:30:00Z"
}
],
"next_id": 2
}Type mapping: ✅=approved, ❓=pending, ❌=killed, 📌=scope, 🔧=correction
Pin (/pin <emoji> <text>)
Parse the emoji prefix to determine type. Text after emoji is content. If text contains —, split into content and detail.
- Derive
PINS_FILEpath (see State File above) mkdir -pthe directory- Read existing file or init
{"items":[],"next_id":1} - Check if content already pinned (exact match on content field) → if so, respond
⚠️ Already pinned.and stop - Check limits: 5 items per type, 20 total. If category full, drop oldest item of that type.
- Append new item with
id=next_id, incrementnext_id - Write file
- Respond:
📌 Pinned #N: <emoji> <content>— one line only, then resume prior work
Show (/pin show or /pin)
- Read
PINS_FILE - If file missing or items empty:
📋 Pin board is empty. - Display:
📋 Pin Board (5 items)
1. ✅ use bun everywhere (minor: keep fallback for CI)
2. ✅ split the PR into 2
3. ❓ split services — latency impact?
4. ❌ auth rewrite — out of MVP scope
5. 📌 MVP only, max 3 filesRemove (/pin rm <n>)
If no number: ⚠️ Usage: /pin rm <number>
- Read
PINS_FILE, find item withid === n - If not found:
⚠️ Pin #N not found. - Remove item, write file
- Respond:
🗑️ Pin #N removed.
Clear (/pin clear)
- Reset file to
{"items":[],"next_id":<keep current next_id>} - Respond:
🗑️ Pin board cleared.
Clear Triage (/pin clear triage)
- Remove items where type is
approvedorpending - Keep items where type is
killed,scope, orcorrection - Write file
- Respond:
🗑️ Triage cleared. <N> pins remaining.
Limits
- 5 items per type, 20 total
- When a category is full, drop the oldest item of that type (lowest id)
Philosophy
The pin board is a capture tool, not a management tool. Its only job is to hold decisions and constraints in a persistent, queryable form so that context compaction does not erase them. ALWAYS treat the board as a write-once, append-only record during a session — edits and removals are operations of last resort, not routine cleanup. A well-run session generates fewer than 20 pins; if you hit the limit frequently, the signals are too granular.
Key Behaviors
- One-line responses only. Never add commentary about pin content.
- Resume immediately. After any pin command, pick up the prior conversation exactly where it left off.
- Store verbatim. No cleanup, no categorization, no reformulation of user's words.
- Stable numbering. Gaps stay after deletion.
next_idalways increments, never reuses. - Gotcha — emoji parsing: Always split on the first emoji character, not the first space. Content like
📌 MVP only, max 3 fileshas the emoji as a 2-byte or 4-byte sequence; naivecut -d' 'will misparse on some shells.
When to Use
- The user explicitly approves or rejects a recommendation during a multi-step session ("yes, go with that approach", "no, skip auth for now").
- The user states a scope constraint or boundary that must survive context compaction ("MVP only", "max 3 files", "no external dependencies").
- The user corrects a misunderstanding or reframes a key concept ("I meant artisans, not developers").
- The user asks a clarifying question about a proposal that remains unresolved and will affect future decisions.
- A session involves multiple decision points and you need a shared reference that both parties can query mid-conversation.
When Not to Use
- The conversation is casual or exploratory with no binding decisions made.
- The item being tracked is an implementation detail (a code change, a file edit) rather than a decision or constraint.
- The content is already pinned — always check the board before adding a duplicate.
- The session is short and single-purpose; context compaction is not a risk.
- The user has explicitly asked to stop auto-pinning for the current session.
Anti-Patterns
NEVER reformulate or paraphrase the user's words when pinning
WHY: rewording introduces your interpretation and erases the original mental model; future agents will read the pin as authoritative, not as a paraphrase.
BAD: user says "no I meant artisans not developers" and you pin "refine target persona".
GOOD: pin 🔧 target = artisans, not developers using the user's own wording.
NEVER pin implementation details like code edits or file changes
WHY: flooding the board with low-signal items makes it harder to spot the constraints that actually govern future choices.
BAD: /pin ✅ renamed helper in utils.ts.
GOOD: pin only decisions, constraints, questions, and corrections.
NEVER add commentary or explanation after a pin response
WHY: this skill is a capture tool; any extra output derails the primary conversation and signals that the board matters more than the user's task.
BAD: 📌 Pinned #3 ... followed by a paragraph on why the pin matters.
GOOD: one line, then resume prior work.
NEVER reuse or reassign an id after deletion
WHY: stable numbering prevents confusion when users reference pins by number across a session; id recycling silently corrupts that contract.
BAD: renumber the remaining pins after /pin rm 2, or reset next_id.
GOOD: leave gaps and let next_id only ever increment.
NEVER skip the duplicate check before writing
WHY: duplicate pins create a false picture of the decision count and waste the 20-item budget on noise.
BAD: append the same content a second time.
GOOD: compare incoming content against existing items and respond ⚠️ Already pinned. on a match.
NEVER ask permission before pinning a detected decision
WHY: the skill is auto-invoked; asking turns a silent capture into an interruption and the decision may be lost to compaction.
BAD: "Should I pin this?" after the user approves a recommendation.
GOOD: respond normally, then pin immediately with the right category.
NEVER pin casual conversation or already-pinned items
WHY: greetings and repeats add noise and consume the per-type and total limits.
BAD: pin "thanks, sounds good" as an approval.
GOOD: check the board first and pin only genuine decisions and constraints.
NEVER use the wrong emoji or type for the user's intent
WHY: /pin clear triage removes only approved and pending items, so a mistyped constraint can be wiped while a decision is kept.
BAD: pin a scope constraint with ✅.
GOOD: map ✅ approved, ❓ pending, ❌ killed, 📌 scope, 🔧 correction.
NEVER stop the conversation after pinning
WHY: the pin is a side effect; the user's actual task is still waiting.
BAD: end the turn after 📌 Pinned #N.
GOOD: resume the prior work exactly where it left off.
Usage Examples
Pinning a scope constraint mid-session:
# User says: "Keep this MVP only, no more than 3 new files"
/pin 📌 MVP only, max 3 files
# Response: 📌 Pinned #1: 📌 MVP only, max 3 files
# Session resumes immediately from where it left offPinning a decision reversal and viewing the board:
# User says: "Actually use PostgreSQL, not SQLite"
/pin 🔧 target database = PostgreSQL, not SQLite
# Response: 📌 Pinned #2: 🔧 target database = PostgreSQL, not SQLite
# Later: review all active pins
/pin show
# Response:
# 📋 Pin Board (2 items)
# 1. 📌 MVP only, max 3 files
# 2. 🔧 target database = PostgreSQL, not SQLitePinning an unresolved question and clearing triage items after resolution:
# Unresolved question surfaces during design
/pin ❓ split services — will latency exceed 200ms SLA?
# Response: 📌 Pinned #3: ❓ split services — will latency exceed 200ms SLA?
# After the question is answered, clear only approved/pending pins
/pin clear triage
# Response: 🗑️ Triage cleared. 1 pin remaining.References
| Topic | Reference | When to Use |
Read-only checks on pins.json | references/inspecting-the-board.md | Verifying limits, duplicates, and numbering before or after a write |
| Edge-case responses | references/edge-cases.md | Handling missing ids, full categories, and empty boards |
External reading
- Architectural Decision Records (ADR): lightweight format for capturing and tracking architectural decisions; pin is the session-scoped, in-conversation equivalent
- Cognitive Offloading and External Memory: theoretical basis for persisting decisions to an external store so working memory is freed for active reasoning
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.

