Archive

From egregore-labs/egregore · View interactive version

Archive is an AI agent skill from the GitHub repository egregore-labs/egregore. Capture an effective prompting or steering technique as a reusable canonical pattern. Use when a prompt chain worked especially well; use /reflect for insight about the work and /note for a private thought.

How to use this skill

Skill file

Archive

Capture a reusable human-to-agent steering technique as a typed pattern with

subtype prompt-chain.

When to invoke

Capture an effective prompting or steering technique as a reusable canonical pattern. Use when a prompt chain worked especially well; use /reflect for insight about the work and /note for a private thought.

Modes

session is too short or no chain exists, ask the user to describe one.

chain.

Each move records its type, trigger, intervention, effect, and distilled

principle. Useful initial move types include inversion, calibration, scoping,

elevation, reframing, grounding, sequencing, contradiction, analogy, and

provocation; extend the vocabulary when needed.

Context and dedupe

Reuse attached EGREGORE_ORG_CONTEXT_V1 evidence. Do not repeat retrieval when

it already contains sufficient related patterns. If a named gap remains, make

one bash bin/search.sh query "<technique concept>" -n 6 call and open only a

likely duplicate through bash bin/search.sh open. Never query implementation

infrastructure or storage directly.

Flow

  1. Extract a chain name, when-to-use guidance, ordered moves, outcome, topics,

workstream, and explicit relations.

  1. For a three-or-more move chain, show the complete breakdown. For shorter

chains, show the compact proposal. Wait for y, edits, or skip.

  1. Render the accepted pattern body to a temporary file under tmp/ and invoke exactly

one canonical command; {artifact-file} is that file, and {chain-name}, {topic},

and {workstream} come from the accepted chain proposal:

bash bin/knowledge.sh create \
  --type pattern \
  --subtype prompt-chain \
  --title '{chain-name}' \
  --input '{artifact-file}' \
  --topic prompt-chain \
  --topic '{topic}' \
  --workstream '{workstream}'

Add --relationship "RELATION:TARGET" only for explicit links. The Runtime

resolves ActorContext, authorizes, assigns stable identity/provenance, persists

canonical Markdown, records Git provenance, refreshes retrieval, starts

background embedding, and emits content-free telemetry.

Boundaries

scratch thought.

sharing, or notifications.

explicitly consented action.

Report the canonical path and writeback status. Preserve the compact

◇ ARCHIVE confirmation style for rich output.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.