/soleur:archive-kbfrom soleur
Archives completed knowledge-base artifacts (brainstorms, plans, specs) to archive/ subdirectories with timestamp prefixes and git history preservation via git mv.
Ships in soleur. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.
Archive brainstorms, plans, and spec directories for a completed feature branch.
The script generates timestamps internally and uses git mv to preserve history.
Superseded in part (ADR-174, #7399). Archival's only real benefit was removing rows from
knowledge-base/INDEX.md, and that is now done at index-generation time: inside a spec directory onlyspec.mdandtasks.mdare indexed. A spec directory is live working state untilshipPhase 6 step 2.5 readsdecision-challenges.mdfrom it (ADR-084 §5) — an earlier gate that forced archival before merge was built and reverted for that ordering reason. The constraint was ordering, not gating: ship## Phase 6.45: KB Artifact Archivalruns after the last live-path reads, and theship-kb-archive-gate.shhook denies only a merge that would land live paths.Retiring its spec/plan discovery paths is tracked by #7400. Discovery is now three axes: the slug match (below) UNIONED with the branch diff — files added or modified on the branch under
knowledge-base/project/{plans,brainstorms,specs}are this feature's artifacts by commit provenance, so a topic-named plan (2026-10-08-...-plan.mdnever matches the slug glob) and a non-feat-*spec dir are both found — UNIONED with untracked??paths under the same roots (the only class the branch diff can never see; an uncommitted spec dir collapses tospecs/<dir>and a lone root-level file does not fire). The partial-run WARNING stays: it fires when exactly one class is found and the other is silent.ship integration:
shipPhase 6.45 (KB Artifact Archival) invokes this script after its last live-artifact reads (decision-challenges render,## Operator Holds) and thegit mvrides the feature PR — archival is part of ship, not a follow-up. Theship-kb-archive-gate.shPreToolUse hook denies agh pr mergewhile live additions remain under the three KB roots.Measured (kb-archive-gate, 2026-10-12):
--dry-runon the feature worktree listsplans/2026-10-12-feat-kb-archive-gate-plan.mdandspecs/kb-archive-gate— and nothing underlearnings/, which is never archived.
Run the archive script from the repository root. It derives the feature slug from the current branch name automatically:
bash "${CLAUDE_PLUGIN_ROOT}/skills/archive-kb/scripts/archive-kb.sh"
To preview what would be archived without making changes:
bash "${CLAUDE_PLUGIN_ROOT}/skills/archive-kb/scripts/archive-kb.sh" --dry-run
To archive a specific slug (override branch detection):
bash "${CLAUDE_PLUGIN_ROOT}/skills/archive-kb/scripts/archive-kb.sh" my-feature-slug
The script discovers artifacts matching the feature slug:
| Directory | Match Pattern | Type |
|---|---|---|
knowledge-base/project/brainstorms/ | Filename contains slug | File glob |
knowledge-base/project/plans/ | Filename contains slug | File glob |
knowledge-base/project/specs/feat-<slug>/ | Exact directory name | Directory match |
All archive/ subdirectories are excluded from discovery.
No secret-scan-allow-rename label is required for archival. The destinations here (knowledge-base/project/{plans,specs}/archive/) match the gitleaks path allowlist — but so do the sources, so the git mv creates no new unscanned surface. rename-guard exempts allowlist -> allowlist renames per rename pair; see secret-scanning.md.
git add before git mv to handle untracked filesgit mv on the directoryWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jikig-ai/soleur --plugin soleur108 skills in this plugin
/admin-ip-refreshThis skill should be used to refresh the prod SSH allowlist (Doppler ADMIN_IPS) after operator IP rotation. Detects drift, mutates Doppler with explicit ack./agent-browserThis skill should be used when automating browser interactions via Vercel's agent-browser CLI. It handles web page navigation, form filling, screenshots, and data scraping using ref-based element selection./agent-native-architectureThis skill should be used when designing agent-native applications where agents are first-class citizens: architecting autonomous agents, creating MCP tools, building apps where features are agent-driven outcomes./agent-native-auditThis skill should be used when conducting a scored agent-native architecture review. It launches 8 parallel sub-agents to audit action parity, context injection, CRUD completeness, capability discovery, and prompt-native features./andrew-kane-gem-writerThis skill should be used when writing Ruby gems following Andrew Kane's patterns. It applies when creating new gems, refactoring existing gems, or designing gem APIs with clean, minimal, production-ready code./architectureThis skill should be used when managing Architecture Decision Records or C4 diagrams.Other plugins' skills for the same job