session-management

session-management is a skill for Claude Code from drvoss/everything-copilot-cli. It costs 36 tokens per session (1,452 once invoked), scanned A, original, MIT.

A session-tracking method that uses a built-in SQLite database, a small file-based database, to store tasks, dependencies, progress, and intermediate results.

In plain words
What is it for?
Use it to track dependent tasks, batch operations, analysis results, test outcomes, reviews, and other long-running workflows.
Why use it?
It keeps multi-step work organized across sessions instead of relying only on conversation memory or loose files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the copilot-native-workflows plugin — 9 skills shipped together

Good fit Use it to track dependent tasks, batch operations, analysis results, test outcomes, reviews, and other long-running workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drvoss/everything-copilot-cli/session-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add drvoss/everything-copilot-cli --skill session-management
Clone the repo
git clone --depth 1 https://github.com/drvoss/everything-copilot-cli

Made for: Claude Code.

Or install copilot-native-workflows, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for session-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/session-management/github.svg)](https://agentmods.dev/skills/drvoss/everything-copilot-cli/session-management)
Your own site
<a href="https://agentmods.dev/skills/drvoss/everything-copilot-cli/session-management"><img src="https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/session-management/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for session-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/drvoss/everything-copilot-cli/session-management"><img src="https://agentmods.dev/badge/skills/drvoss/everything-copilot-cli/session-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,452 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.01452
Opus 5.5 $0.00014 $0.00581
Sonnet 5.5 $0.00007 $0.00290
Haiku 4.5 $0.00004 $0.00145

Measured 1mo ago against content hash 6b0c8d207c7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

session-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/copilot-native-workflows/skills/session-management/SKILL.md · 186 lines

How it starts

The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Session SQL Database Management

Why This is Copilot-Exclusive

Copilot CLI includes a built-in SQLite database per session accessible via a native sql tool. It comes with pre-built todos and todo_deps tables and supports creating any custom tables you need. This structured data layer enables proper task tracking, batch processing, and state management — all queryable with SQL. Claude Code has no database; state management is limited to reading/writing files or keeping everything in the conversation context.

When to Use

  • Tracking progress on multi-step tasks with dependencies
  • Batch-processing items (issues, files, test cases) with status tracking
  • Storing intermediate results from analysis or exploration
  • Managing key-value state across a complex workflow
  • Building reports from structured data (test results, PR reviews, audit findings)

Workflow

1. Pre-Built Todo Tracking

The todos table is ready to use immediately:

-- Create todos for your task
INSERT INTO todos (id, title, description, status) VALUES
  ('setup-db', 'Set up database', 'Initialize Prisma schema with User and Post models', 'pending'),
  ('seed-data', 'Create seed data', 'Add development seed script with 10 users', 'pending'),
  ('api-routes', 'Build API routes', 'REST endpoints for User CRUD operations', 'pending');

-- Define dependencies
INSERT INTO todo_deps (todo_id, depends_on) VALUES
  ('seed-data', 'setup-db'),
  ('api-routes', 'setup-db');

2. Track Progress as You Work

-- Start working on a todo
UPDATE todos SET status = 'in_progress', updated_at = datetime('now') WHERE id = 'setup-db';

-- Complete it
UPDATE todos SET status = 'done', updated_at = datetime('now') WHERE id = 'setup-db';

-- Check what's ready to start next
SELECT t.id, t.title FROM todos t
WHERE t.status = 'pending'
AND NOT EXISTS (
  SELECT 1 FROM todo_deps td
  JOIN todos dep ON td.depends_on = dep.id
  WHERE td.todo_id = t.id AND dep.status != 'done'
);

3. Custom Tables for Any Purpose

Read the full file on GitHub · 186 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines 6b0c8d207c7d
  2. 3mo ago First seen · 185 lines · 36 tokens per session scan A f48fbe1c06ae

Subscribe to this mod's changes

session-management is a skill published in the GitHub repository drvoss/everything-copilot-cli (49 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,452 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

session-management compared with skills from other repositories

session-management next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
session-managementdrvoss/everything-copilot-cliSkill49yesterdayMITA36Claude Code
windbg-user-heap-corruption-investigationmicrosoft/win-dev-skillsSkill52113d agoMITA46Claude Code
speckit-initgithub/spec-kit-copilotSkill305d agoMITA113Claude Code
speckit-selfgithub/spec-kit-copilotSkill305d agoMITA84Claude Code
repo-maintainjongio/skillsSkill192d agoMITA100Claude Code
create-skilljongio/skillsSkill192d agoMITA150Claude Code
git-tidyjongio/skillsSkill192d agoMITA93Claude Code