Agent skill

Save State

by ritchiecarroll in ritchiecarroll/go2cs

Weekly save-state / GitHub-persist procedure for the fleet — run when weekly usage passes 90% (or the owner asks).

Custom licenceAuto-check passedAgent Workflows

Install Save State

skills CLI
$ npx skills add ritchiecarroll/go2cs --skill save-state -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ritchiecarroll/go2cs save-state --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ritchiecarroll/go2cs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/save-state .claude/skills/save-state && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
save-state
GitHub stars
400
Token cost
~1.6k tokens
SKILL.md length
640 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

Weekly save-state / GitHub-persist procedure for the fleet — run when weekly usage passes 90% (or the owner asks).

  • Works in 5 steps: Order the fleet (one mailbox post) → Compile docs/phase4/RESUME-SESSIONS.md → Verify, then push → …
  • Tasks that involve Session handoff
  • SKILL.md covers 1. Order the fleet (one…, 2. Compile…, 3. Verify, then push and 4. Report the location — twice, plus 2 more sections
  • Calls bash

What it does

Save State is an agent skill from ritchiecarroll/go2cs. Weekly save-state / GitHub-persist procedure for the fleet — run when weekly usage passes 90% (or the owner asks). Produces docs/phase4/RESUME-SESSIONS.md, the paste-ready resume prompt per lane, verified against origin.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Session handoff. It works with GitHub. The repository describes itself as: Golang to C Converter.

When your agent uses it

  • Tasks that involve Session handoff

Example prompts

  • “/save-state”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Order the fleet (one mailbox post)
  2. Compile docs/phase4/RESUME-SESSIONS.md
  3. Verify, then push
  4. Report the location — twice
  5. What is deliberately NOT persisted

What it can do on your machine

Read from SKILL.md and the folder at commit 0457242. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Save State loads about 1.6k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 640 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 640 words (~1,558 tokens).

“Trigger: the owner says usage is near or past 90% of the weekly limit, or asks for "save state" / "resume script". The limit can arrive fast, so the order goes out at the first mention and the file is…”

— opening of SKILL.md by ritchiecarroll, Custom licence
name
save-state

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/save-state of ritchiecarroll/go2cs.

Open the folder on GitHubat commit 0457242

Compare with similar skills

Save State next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Save State compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Save State this skillritchiecarroll/go2cs400—~1.6kAutomated safety check: PassCustom licence
Session Handoff Writercodewhale-hq/Codewhale41k—~1.2kAutomated safety check: PassMIT
Beadsmatthiasn/lotti1.2k—~589Automated safety check: PassGPL-3.0
Gh Issuesserejaris/personal-corp-os229—~1.8kAutomated safety check: PassMIT
Swarm Coordinationdralgorhythm/claude-agentic-framework124—~1.6kAutomated safety check: PassNone
Learning Aggregator CIpskoett/pskoett-ai-skills310—~2.5kAutomated safety check: PassNone

Similar skills

  • Session Handoff Writer

    codewhale-hq/Codewhale

    Writes a compact handoff note from real git and CI state so the next session or a teammate can pick up the work without rebuilding the context.

    41k GitHub stars~1.2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Beads

    matthiasn/lotti

    A skill your agent uses for authorized Lotti maintainer work that needs private durable task tracking, issue dependencies, blocker management, multi-session handoff, or shared agent memory.

    1.2k GitHub stars~589 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Gh Issues

    serejaris/personal-corp-os

    A skill your agent uses when creating, searching, updating, or managing GitHub issues via CLI.

    229 GitHub stars~1.8k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Swarm Coordination

    dralgorhythm/claude-agentic-framework

    Rules for several agents sharing one repository: an orchestrator tracks work in two tiers, workers write to scratch files, and every handoff leaves a pointer to an artifact.

    124 GitHub stars~1.6k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Learning Aggregator CI

    pskoett/pskoett-ai-skills

    [Beta] CI-only learning aggregation workflow using gh-aw (GitHub Agentic Workflows).

    310 GitHub stars~2.5k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Levyra Context Efficiency

    LUC4N3X/Levyra-deepsound

    A skill your agent uses for genuinely high-volume Levyra work such as builds, tests, lint, logs, broad searches, dependency output, Git/GitHub or CodeRabbit inspection, CI diagnostics, agent setup…

    543 GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check: notes

More from ritchiecarroll/go2cs

  • Corpus Reconvert

    ritchiecarroll/go2cs

    Measure a converter change's corpus footprint. An agent skill from ritchiecarroll/go2cs.

    400 GitHub stars~19k tokensUpdated today
    Auto-check passed
  • Mailbox

    ritchiecarroll/go2cs

    Post to or read the fleet mailbox. An agent skill from ritchiecarroll/go2cs.

    400 GitHub stars~8k tokensUpdated today
    Auto-check passed
  • Merge Hazards

    ritchiecarroll/go2cs

    Merge or rebase concurrent lane branches. An agent skill from ritchiecarroll/go2cs.

    400 GitHub stars~21k tokensUpdated today
    Auto-check passed
  • Train Assembly

    ritchiecarroll/go2cs

    Assemble, rehearse, gate or land a train. An agent skill from ritchiecarroll/go2cs.

    400 GitHub stars~16k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Save State

What does Save State do?

Weekly save-state / GitHub-persist procedure for the fleet — run when weekly usage passes 90% (or the owner asks). Save State is an agent skill from ritchiecarroll/go2cs. Weekly save-state / GitHub-persist procedure for the fleet — run when weekly usage passes 90% (or the owner asks).

When should I use Save State?

Save State fits situations like: tasks that involve Session handoff.

How do I install Save State in Claude Code?

Run `npx skills add ritchiecarroll/go2cs --skill save-state -a claude-code`. Or copy the skill folder (.claude/skills/save-state in ritchiecarroll/go2cs) into .claude/skills/save-state in your project. Claude Code loads it when a task matches its description.

How do I install Save State in Codex?

Run `npx skills add ritchiecarroll/go2cs --skill save-state -a codex`. Or copy the skill folder (.claude/skills/save-state in ritchiecarroll/go2cs) into .agents/skills/save-state in your project. Codex loads it when a task matches its description.

Can I use Save State in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ritchiecarroll/go2cs --skill save-state -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/save-state, .gemini/skills/save-state, .github/skills/save-state and .opencode/skills/save-state in your project.

What does Save State need to run?

Going by SKILL.md and its folder, Save State needs the command-line tools its instructions call (bash). Our summary lists: Python 3.

Does Save State access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Save State safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Save State use?

Save State has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Save State use?

About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Save State?

Skills that share tags, products or a category with Save State: Session Handoff Writer (codewhale-hq/Codewhale, 41k stars), Beads (matthiasn/lotti, 1.2k stars), Gh Issues (serejaris/personal-corp-os, 229 stars) and Swarm Coordination (dralgorhythm/claude-agentic-framework, 124 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Save State?

ritchiecarroll (a GitHub user) maintains it in ritchiecarroll/go2cs, which has 400 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: ritchiecarroll/go2cs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.