pin-setup
Guided setup for initializing a pins storage manifest.
Install
mkdir -p .claude/skills/pin-setup && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11546" && unzip -o skill.zip -d .claude/skills/pin-setup && rm skill.zipInstalls to .claude/skills/pin-setup
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when initializing the pins knowledge graph for the first time in a project. Guides the user through creating pins.yaml (the storage manifest). Triggers on "setup pins", "initialize pins", "create pins.yaml", "first-run pins".Key capabilities
- →Create a new pins.yaml manifest file
- →Define the storage location for pin data files
- →Set the scope of the pins manifest (private or shared)
- →Configure Git management for the pins corpus
- →Migrate legacy pin files to the new format
How it works
The skill conducts an interview with the user to gather preferences for storage location, scope, and Git management, then writes these settings to a `pins.yaml` file.
Inputs & outputs
When to use pin-setup
- →Initializing pins for the first time
- →Creating a new knowledge graph manifest
- →Setting storage location for pins
About this skill
pin-setup
First-run interview to create ~/.pins/{name}/pins.yaml, the storage manifest for the pins knowledge graph.
What is pins.yaml
pins.yaml is the manifest that tells the pins API where to read and write pin files. It declares the storage location and scope for this project's knowledge graph.
resolveManifest() (from lib/pins/manifest.ts) reads pins.yaml and returns the parsed manifest. Callers then extract manifest.location and pass it explicitly to each API (record, query, audit, etc.). The manifest itself is advisory metadata — individual API calls always receive location as an explicit argument, not by re-reading the file.
Interview
Walk the user through three decisions:
1. Storage location
The manifest is always written to ~/.pins/{name}/pins.yaml, where {name} is derived from the project name of the cwd (deriveProjectName(cwd)). This path is fixed.
Ask: "Where should pin data files live?"
Common choices:
- Co-located with the manifest (default) —
~/.pins/{name}/— no--locationneeded - A custom absolute path — pass via
--location; useful for monorepos or multi-project setups
Confirm whether the directory should be created if it does not exist (it will be, automatically, on the first record() call).
2. Scope
Ask: "What is the scope of this pins manifest — personal (private) or project-wide (shared)?"
private— pins default tosensitivity: private; not intended for team consumptionshared— pins default tosensitivity: shared; meant to be read by teammates
The scope sets the manifest-level default; individual pins can override sensitivity in their frontmatter.
3. Git management
Ask: "Is this pins corpus managed under git?"
This is independent of storage location: a ~/.omt/... directory can be a git repo; a .pins/ directory inside a project repo can be gitignored. The answer reflects intent, not directory placement. When git: true, the SessionStart hook and the pin-record/pin-wrap-up skills will prompt the AI to commit pin file changes after recording.
Record the answer as git: true or git: false.
Output
Once all three questions are answered, write pins.yaml to ~/.pins/{name}/pins.yaml:
# pins.yaml — knowledge graph storage manifest
location: <resolved absolute path>
scope: <private|shared>
git: <true|false>
Confirm the path is correct and the user understands that all pins API calls will resolve against this manifest.
Migration
If the project has legacy pin files (frontmatter with slug instead of id, no type field), run migration after setup:
bun "${CLAUDE_SKILL_DIR}/scripts/setup.ts" --scope "$SCOPE" [--location "$LOC"] [--git true|false]
--location is optional. When omitted, pin data is co-located with the manifest at ~/.pins/{name}/. The script writes pins.yaml to ~/.pins/{name}/pins.yaml and then runs migrate() against the just-written location. migrate() is idempotent — re-running it is safe. Each legacy file gets a .bak sibling before conversion.
When not to use it
- →When the pins knowledge graph is already initialized and configured
- →When only needing to record or query existing pins
- →When the task is not related to the initial setup of pins.yaml
Limitations
- →The manifest is always written to `~/.pins/{name}/pins.yaml`.
- →The skill does not manage individual pin files directly, only the manifest.
- →Migration only handles legacy pin files with `slug` instead of `id` and no `type` field.
How it compares
This skill provides a guided, interactive setup for the pins knowledge graph, ensuring all necessary configurations are defined, unlike manual file creation.
Compared to similar skills
pin-setup side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pin-setup (this skill) | 0 | 1mo | Review | Beginner |
| notion-knowledge-capture | 10 | 9mo | No flags | Intermediate |
| apple-reminders | 25 | 2mo | Review | Beginner |
| memory-keeper-proactive-context-maintenance | 6 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
notion-knowledge-capture
makenotion
Transforms conversations and discussions into structured documentation pages in Notion. Captures insights, decisions, and knowledge from chat context, formats appropriately, and saves to wikis or databases with proper organization and linking for easy discovery.
apple-reminders
openclaw
Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
memory-keeper-proactive-context-maintenance
b4CU-R4U
Automatically detect and maintain memory freshness by monitoring context staleness, significant code changes, task completions, and phase transitions. Proactively suggests and executes memory sync operations with user confirmation. Use when the user says "sync memory", "update context", or when the Skill detects that context is stale (>2 hours), significant changes have occurred (new commits), tasks completed, or major milestones reached. Replaces passive "context is stale" warnings with active maintenance.
notion-meeting-intelligence
openai
Prepare meeting materials with Notion context and Codex research; use when gathering context, drafting agendas/pre-reads, and tailoring materials to attendees.
agent-memory
yamadashy
Use this skill when the user asks to save, remember, recall, or organize memories. Triggers on: 'remember this', 'save this', 'note this', 'what did we discuss about...', 'check your notes', 'clean up memories'. Also use proactively when discovering valuable findings worth preserving.
apple-notes
openclaw
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.