Logo di 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).

Panoramica

Autorerustyrazorblade
Repositoryskills
Nome della skillarchive
Stelle
44
Fork
9
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da rustyrazorblade su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Archive in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/rustyrazorblade/skills/tree/main/plugins/spec-flow/skills/archive
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Archive in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Archive non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Archive non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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).

Perché usare Archive su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Archive è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Archive in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/rustyrazorblade/skills/tree/main/plugins/spec-flow/skills/archive. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Archive?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Archive?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Archive: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Archive è gratuita?

Sì. È pubblicata su GitHub da rustyrazorblade con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇