Skip to content

Agent Skills

Load your PromptNote prompts as reusable Agent Skills — works with Claude Code, Cursor, Windsurf, and 40+ AI agents.

This content is not available in your language yet.

Agent Skills let your AI assistant use the pnote CLI directly. Works with Claude Code, Cursor, Windsurf, and 40+ other agents via skills.sh. Ask your agent to search your library, copy prompts, create notes, or manage tags — all through natural conversation.

Terminal window
npx skills add iopho-team/iopho-skills --skill pnote

Global install (available across all projects):

Terminal window
npx skills add iopho-team/iopho-skills --skill pnote -g -y

If you already use the pnote CLI and have your skills stored in PromptNote:

Terminal window
pnote skills pull # Global: ~/.agents/skills/ + agent symlinks
pnote skills pull --project # Project: ./.agents/skills/ + agent symlinks

This writes to the canonical .agents/skills/<name>/ store and creates relative symlinks in the agent directories (.claude/skills/ always, plus .windsurf/skills/, .augment/skills/, .agent/skills/ when those agents are installed), matching the npx skills layout.

A pull never deletes a real directory or overwrites a locally modified file — it reports a conflict and skips. Add --force to overwrite (the original is backed up to ~/.cache/pnote/skill-backups/ first), or --dry-run to preview.

See what’s on your machine: pnote skills scan

Section titled “See what’s on your machine: pnote skills scan”
Terminal window
pnote skills scan # Read-only inventory of local skills
pnote skills scan --usage # Include 30-day usage stats
pnote skills scan --json # Structured output

scan is read-only — nothing is written, deleted, moved, or uploaded. By default it covers only the global agent skill directories, project roots derived from your agents’ own session records (Claude Code, OpenAI Codex CLI, Kimi Code, Grok/xAI CLI), and the current directory. A repository you cloned but never opened in an agent is not scanned — point at it with pnote skills scan --path <dir>.

Terminal window
pnote skills diff # Compare local files with the cloud
pnote skills push <dir> # Upload a local skill directory
pnote skills push <name> --file <path> # Push a single file

Skills are stored as notes (note_type="skill") with titles like skill-name/filename.md. A push appends a new snippet version rather than destroying cloud history; if the cloud copy is newer than your local file, the push is skipped unless you add --force.

  1. Clone or download SKILL.md from iopho-team/iopho-skills
  2. Place in .agents/skills/pnote/SKILL.md in your project (or ~/.agents/skills/pnote/SKILL.md globally)
  3. Agent-specific directories like .claude/skills/pnote should be symlinks pointing to ../../.agents/skills/pnote
  1. Install the CLI: npm install -g pnote
  2. Authenticate: Generate an API token from the web app, then run:
Terminal window
pnote auth token pn_your_token_here

In Claude Code, use the /pnote slash command:

/pnote notes # list all notes
/pnote search "system prompt" # search by keyword
/pnote notes --tag "ai/tools" # filter by tag
/pnote notes snippet copy <id> # copy to clipboard
/pnote notes create "Title" # create a note

Or ask Claude naturally — the skill lets it run any pnote command:

“Search my PromptNote library for code review prompts”

“Copy the latest snippet from my ‘Claude system prompt’ note”

“Create a new note called ‘Meeting Summary Template’ with the content we just wrote”

  • Search and browse — List notes, filter by tag, full-text search
  • Read and copy — Get note content, copy snippets to clipboard
  • Create and edit — New notes, add snippet versions, rename tags
  • PIN-protected notes — Access with PNOTE_PIN env var or -p flag; use pnote pin status to verify setup
  • Manage skills — Pull your PromptNote-hosted skills with pnote skills pull, push local skills with pnote skills push, compare with pnote skills diff, and inventory local skills read-only with pnote skills scan