state
Skill2 starsChanged 9 months agoMITView on GitHub
Session state management. List active sessions, inspect checkpoints, abandon stale sessions, run garbage collection.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- snuffish/dotfilestheir own version, first seen Nov 16, 2026
- davidondrej/skillstheir own version, first seen Nov 15, 2026
- microsoft/Copilot-Managed-Runtimetheir own version, first seen Nov 8, 2026
- synaptiai/agent-capability-standardtheir own version, first seen Nov 1, 2026
- gr219/OpenBA-Kittheir own version, first seen Oct 25, 2026
- aihu-project/aihutheir own version, first seen Oct 20, 2026
Used with
Projects with it also use discover, delegate and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilldiscover
Also in 3 projects that use this
scott2bSkilldelegate
Intelligently analyzes tasks and delegates them to the most appropriate AI system when delegation adds value (project, gitignored)
Also in 3 projects that use this
Microsoft AzureSkillverify
End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- davidondrej/skills★ 4.4ksame name
- cwinvestments/memstack★ 433same name
- spmtitsolution/OpenBA-Kit★ 38same name
- microsoft/Copilot-Managed-Runtime★ 16same name
- synaptiai/agent-capability-standard★ 7same name
- aihu-project/aihu★ 4same name
- aigengame/skills★ 2same name
- gr219/OpenBA-Kit★ 0same name
- snuffish/dotfiles★ 0same name
- vbrevik/claude_code_skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- affirmationSkill
- auditSkill
- councilSkill
- doSkill
- gitSkill
- infoSkill
- kill-playgroundSkill
- memorySkill
- mergeSkill
- opsSkill
- qSkill
- refineSkill
- runSkill
- scopeSkill
- sim-sourceSkill
- thinkSkill
- ui-brainSkill
- worktree-managerSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 3 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Call mcp__state__session_list with status: "active".
- Distinctive: line 45
If no active sessions: "No active sessions."
- Very specific: line 49
Call mcp__state__session_list with no filters.
- Very specific: line 51
Call mcp__state__session_info with the resolved session_id.
- Distinctive: line 81
If multiple matches, ask user to pick.
- Very specific: line 83
Call mcp__state__session_abandon with the session_id.
- Very specific: line 88
Call mcp__state__session_list with no filters (triggers inline GC).
- Very specific: line 96
Never expose raw session IDs in the dashboard: Use skill + repo + scope for identification.
- Distinctive: line 97
Confirm before abandon: Always ask.
- Very specific: line 98
One question at a time: Use AskUserQuestion sequentially.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
State
User-facing management for the session-state DB. Shows what's in flight across all skills and repos.
/state — dashboard: all active sessions
/state info {query} — full detail for one session
/state abandon {query} — mark a session as abandoned
/state gc — purge completed/abandoned > 30 daysSubcommands
/state (default — dashboard)
- Call
mcp__state__session_listwithstatus: "active". - Format as a dashboard table:
Active Sessions
─────────────────────────────────────────────────────────────
Skill Repo Scope Phase Age
/refine vlt-ui default SPEC 2h
/q vlt-ui orchestr. draining 5m
/scope vlt-ui epic/nav EXECUTE 1d
/do vlt-ui fix-margin worktree 12m
Stale (>7d):
/refine vlt-data default RESEARCH 9d- Sessions with
age_days >= 7go in the "Stale" section with a warning. - If no active sessions: "No active sessions."
/state info {query}
- Call
mcp__state__session_listwith no filters. - Match
{query}against skill name, repo basename, or scope. If ambiguous, ask user to pick. - Call
mcp__state__session_infowith the resolvedsession_id. - Display:
Session: {id}
─────────────────────────────────────
Skill: {skill}
Repo: {repo}
Scope: {scope}
Status: {status}
Created: {created_at}
Updated: {updated_at}
Checkpoints:
1. {phase} {created_at} git:{git_ref || "—"}
2. {phase} {created_at} git:{git_ref || "—"}
Events:
started {created_at}
checkpointed {created_at} phase: RESEARCH
...
Payload:
{formatted JSON payload, truncated to 500 chars}/state abandon {query}
- Call
mcp__state__session_listwithstatus: "active". - Match
{query}against skill name, repo basename, or scope. - If multiple matches, ask user to pick.
- Confirm: "Abandon {skill} session for {repo} ({scope})? (y/n)"
- Call
mcp__state__session_abandonwith the session_id. - Confirm: "Abandoned: {skill} / {repo} / {scope}"
/state gc
- Call
mcp__state__session_listwith no filters (triggers inline GC). - Report: "GC: {purged} sessions purged (completed/abandoned > 30 days)."
- Show remaining session counts by status.
Rules
- Never expose raw session IDs in the dashboard. Use skill + repo + scope for identification. Show IDs only in
/state info. - Confirm before abandon. Always ask.
- One question at a time. Use
AskUserQuestionsequentially. - Compact output. Tables and lists, no prose.
- Stale = display hint. Sessions >7 days old get a warning, NOT auto-abandoned.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

