Skip to content
Back to skills

Megg State

ASecurity

Manage session state for cross-session handoff

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 6, 2026
toolsgo

Works with

  • mcp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add ToruAI/megg --skill megg-state --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Megg State?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Megg State
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/toruai-megg-state/badge)](https://www.skillsdirectory.com/skills/toruai-megg-state)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: megg-state
description: Manage session state for cross-session handoff
user-invocable: true
arguments:
  - name: action
    description: clear | show (default captures state)
    required: false
---

# Session State Management

Capture or manage session state for cross-session handoff.

## Process

### Default (no argument) - Capture State

1. Review what was worked on in this session
2. Summarize into this format:

```markdown
## Working On
[One-liner: the main task/goal]

## Progress
- [What's been done]
- [Current status]

## Next
- [Immediate next steps]

## Context
[Relevant files, blockers, pending decisions - keep brief]
```

3. Call the `mcp__megg__state` tool with the content:
   ```
   mcp__megg__state({ content: "<formatted content>" })
   ```

4. Confirm to user that state was saved

### `clear` - Clear State

1. Call `mcp__megg__state({ status: "done" })`
2. Confirm state was cleared

### `show` - Display Current State

1. Call `mcp__megg__state()` with no arguments
2. Display the current state or "No active state"

## Notes

- State is ephemeral - overwritten each session
- Auto-expires after 48 hours or when marked done
- Hard limit of 2k tokens to prevent bloat
- Keep content concise and actionable

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.