AGENT SKILL

skill-pull

Pull skills from a remote GitHub repository into the local skills directory. Use when the user wants to install shared skills.

License 许可
MIT
所属仓库
dimetron/pi-go
最近更新
2026-11-15
Stars
★ 224
Forks
34

01 前言 Front Matter

name
skill-pull
description
Pull skills from a remote GitHub repository into the local skills directory. Use when the user wants to install shared skills.

02 资源文件 1

03 SKILL.md 正文

Skill Pull

Download and install skills from a remote source into .pi-go/skills/.

Usage

/skill-pull <source> [skill-name]

Where source can be:

  • GitHub shorthand: user/repo
  • GitHub URL: https://github.com/user/repo
  • Raw URL to a SKILL.md file

If skill-name is provided, only pull that specific skill.

Steps

  1. Parse the source argument
  2. For GitHub repos, use git clone --depth 1 into a temp directory
  3. Find skill directories: look for skills/*/SKILL.md or .pi-go/skills/*/SKILL.md in the cloned repo
  4. For each found skill directory:
    • Copy the entire skill directory (SKILL.md + any bundled files) to .pi-go/skills/<name>/
    • If skill-name filter was given, only copy matching skills
    • If a skill with the same name exists locally, warn and skip unless the user confirms
  5. Clean up temp directory
  6. Report what was pulled

Examples

  • /skill-pull user/repo — Pull all skills from a GitHub repo
  • /skill-pull user/repo my-skill — Pull only the my-skill skill
  • /skill-pull anthropics/skills — Pull from the official Anthropic skills repo

Guidelines

  • Always clean up temp directories after cloning
  • Never overwrite existing skills without user confirmation
  • Report clearly what was installed and from where

04 同仓库更多 Skills

dimetron
dimetron/pi-go

verify-session-flow

Formally verify the interactive session flow before or after changing it. Use when editing internal/tui/tui.go's handleKey, handleInterruptKey, handleInputSubmit, ctrlCCount or quitting, internal/tui/agent_loop.go's enqueuePrompt, submit, steerPrompt, cancelAgent or handleAgentDone, or the deferred-init splash — or when a user reports that Ctrl+C quit on the first press, that Esc did not stop a turn or a goal loop, that a queued prompt was lost when they canceled, or that the TUI hung on a spinner nothing could clear.

★ 224
dimetron
dimetron/pi-go

verify-run-pipeline

Formally verify the /run phase machine before or after changing it. Use when editing internal/tui/run.go's phase transitions (handleRunAgentDone, runGates result handling, verifyRunComplete, retryRun, reportGateHang, merge), internal/sop/verdict.go's Passed, or the checklist refresh — or when a run merged work it should not have, retried a hung gate, lost a cycle at the retry budget, or merged on a stale PASS.

★ 224
dimetron
dimetron/pi-go

verify-history-rewrite

Formally verify the session-history rewrite path before or after changing it. Use when editing internal/session/autocompact.go, internal/session/compaction*.go, internal/session/store.go's Compact/ClearEvents/rewriteEvents, internal/agent/agent.go's Run/RunStreaming/runPreTurn, or internal/tui/commands.go's clearConversation/clearSessionContext and the context gauge — or when a turn is canceled mid-flight, a tool call and its result get separated, a session's history disappears while the agent is still working, or the model is sent a tool result whose call was compacted away.

★ 224
dimetron
dimetron/pi-go

verify-goal-loop

Formally verify the /goal automatic loop before or after changing it. Use when editing internal/tui/goal.go, internal/tui/agent_loop.go's handleAgentDone/cancelAgent/steerPrompt, or internal/tools/goal.go's GoalController — or when a goal loop will not stop, stops one cycle early, closes a goal that is not met, or restarts a goal you finished.

★ 224
dimetron
dimetron/pi-go

verify-agent-lifecycle

Formally verify the subagent lifecycle before or after changing it. Use when editing internal/subagent/orchestrator.go's Spawn, trackAgent, forwardAgentEvents, terminalStatus, Cancel, ShutdownWithTimeout or evictCompletedAgentsLocked, or internal/subagent/pool.go — or when a canceled agent is reported as failed, an agent vanishes from the list with no verdict, the orchestrator panics on a pool release, or an agent can be canceled twice.

★ 224
dimetron
dimetron/pi-go

test-new-skill

暂无简介

★ 224