Logo von Archive

Archive

Community
rustyrazorblade
archive

Check the buildup of un-archived OpenSpec changes waiting on the default branch (one per merged-and-finalized issue) against a threshold (default 5, overridable), and — once confirmed with the owner — spawn a dedicated background worker to sync and archive them all in one pass and land one PR. Owner-invoked or offered by project-manager when it notices the buildup; never automatic. Part of the flow delivery workflow (see docs/workflow.md).

Übersicht

Herausgeberrustyrazorblade
Repositoryskills
Skill-Namearchive
Sterne
44
Forks
9
Mitgelieferte Dateien
Nur Anweisungen
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von rustyrazorblade auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Archive in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/rustyrazorblade/skills/tree/main/plugins/spec-flow/skills/archive
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rustyrazorblade/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/spec-flow/skills/archive .claude/skills/archive
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Archive in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Archive automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Archive nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

archive — batch-archive the piled-up OpenSpec changes

You are the central project-manager (this isn't tied to any one issue, so it's yours to run, the same way board/groom/setup are — no issue-manager involved). Every finalized issue leaves its openspec/changes/issue-<N> change sitting on the default branch, unarchived, until this runs. You watch for the buildup and check in with the owner — you never archive on your own initiative, and you never do the archiving work yourself; once the owner confirms, you delegate it to a dedicated background worker, the same way you delegate an issue to issue-manager.

Steps

  1. Count the buildup. List every top-level openspec/changes/* directory except archive/ on the default branch — each one is a finalized-but-unarchived issue. Use the <ref>:<path> form, not a plain pathspec — git ls-tree -- openspec/changes (no trailing slash) lists the directory itself, not its children (confirmed live); <ref>:<path> lists bare child names directly, and 2>/dev/null covers the case where openspec/changes doesn't exist in this tree at all (nothing pending, not an error):

    bash
    DEFAULT_BR=$(gh repo view --json defaultBranchRef --jq .defaultBranchRef.name)
    git fetch origin "$DEFAULT_BR"
    git ls-tree --name-only "origin/$DEFAULT_BR:openspec/changes" 2>/dev/null | grep -v '^archive$'

    Each entry is issue-<N> — extract <N>. Empty output means nothing's pending; say so and stop.

  2. Resolve the threshold. Default 5. Check for a standing override the owner has stated — in this conversation already, or written as a preference in this repo's (or their global) CLAUDE.md — before falling back to the default. This is the same kind of "check CLAUDE.md for a stated preference" project-manager already does for spawn instructions; don't invent a number that wasn't actually stated anywhere.

  3. Below threshold? Report the count against the threshold ("3 of 5 — not archiving yet") and stop, unless the owner explicitly asks you to archive now regardless of count (an ad hoc override for this run only — doesn't change the standing threshold for next time). Never treat silence as permission to lower the bar.

  4. At or above threshold (or overridden) — list the batch and confirm before doing anything. Show the owner exactly which issues are about to be archived, one per - line as <number>: <title>, and ask before proceeding, as one question in the format in Presenting to the owner in docs/workflow.md. This is real confirmation, not a formality — archiving lands a real PR, and the owner should see the batch before it's built, the same way they see a design before it's implemented.

  5. Confirmed — spawn the worker, don't do the work yourself. This is the only upfront owner check-in — once you spawn, the worker builds the batch, commits, opens the PR, and merges it, fully on its own, no further confirmation needed for any of that. The one exception is a genuine content conflict while reconciling delta specs (two changes touching the same requirement incompatibly) — the worker doesn't guess a resolution or stop-and-exit for that; it posts a comment on the conflicting issues and pauses to work it out with the owner interactively, in that same session, then continues the batch from where it left off once resolved — see agents/archive-batch.md step 3. A blocked merge (required checks, branch protection) also stops the worker, but that's mechanical, not a judgment call, and it does end the run rather than pausing it — relay whatever it reports.

    bash
    ${CLAUDE_PLUGIN_ROOT}/scripts/spawn-archive-batch.sh

    Report its one-line output — the session id — and tell the owner they can attach via claude agents (select it from the list) to watch it work, same as an issue-manager. Don't create the worktree, run openspec-sync-specs/openspec-archive-change, or open the PR yourself — if you catch yourself about to do any of that inline, stop; that's agents/archive-batch.md's job, running as its own process specifically so this doesn't become work in your own context. If the script fails, relay its error verbatim rather than hand-rolling a replacement spawn — same rule as spawn-issue-manager.sh.

Rules

  • Never invent a schedule. Don't suggest running this "every night" or wire it to anything automatic — the threshold check happens when you're asked, or when you naturally notice the count while doing something else (e.g. board); it's never a background timer.
  • Always confirm before spawning, even when the threshold is clearly met — see step 4. The one exception is the owner's own ad hoc "archive now" — that IS the confirmation.
  • You delegate this, you don't do it. Steps 1-4 are checks and a conversation; step 5 is a spawn, not an implementation. If you're editing OpenSpec files, running git worktree add, or calling gh pr create from here, you've drifted into archive-batch's job.
  • This never touches any issue's own feature branch or PR. It only ever operates on the default branch's already-merged openspec/changes/ content — a completely separate, code-free bookkeeping lane.
  • When you cite an issue or PR, always write it as <number>: <title>, on its own line with a - prefix — never a bare number, and never several run together inline in a sentence. The batch confirmation list in step 4 follows this format too. A question to the owner follows the format in Presenting to the owner in docs/workflow.md.

Häufig gestellte Fragen

Was macht der KI-Skill Archive?

Check the buildup of un-archived OpenSpec changes waiting on the default branch (one per merged-and-finalized issue) against a threshold (default 5, overridable), and — once confirmed with the owner — spawn a dedicated background worker to sync and archive them all in one pass and land one PR. Owner-invoked or offered by project-manager when it notices the buildup; never automatic. Part of the flow delivery workflow (see docs/workflow.md).

Warum Archive in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Archive besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Archive in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/rustyrazorblade/skills/tree/main/plugins/spec-flow/skills/archive ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Archive nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Archive verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Archive damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Archive kostenlos?

Ja. Der Skill wird von rustyrazorblade auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇