signal-state

signal-state is a skill for Claude Code from mattbaconz/signal. It costs 12 tokens per session (492 once invoked), scanned A, original, MIT.

A disk-backed note that keeps an agent’s project context, progress, and next steps in a `.signal_state.md` file. It is designed for the SIGNAL protocol.

In plain words
What is it for?
Keeping task progress across sessions, recording the current focus, and handing work between agent runs without storing source code in the state file.
Why use it?
Chat context can disappear or become hard to track during long tasks. This gives the agent a small, persistent record it can reload and update.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the signal plugin — 8 skills shipped together

Good fit Keeping task progress across sessions, recording the current focus, and handing work between agent runs without storing source code in the state file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mattbaconz/signal/signal-state
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 mattbaconz/signal --skill signal-state
Clone the repo
git clone --depth 1 https://github.com/mattbaconz/signal

Made for: Claude Code.

Or install signal, the plugin that ships this one along with the rest of its 8 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 signal-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/mattbaconz/signal/signal-state/github.svg)](https://agentmods.dev/skills/mattbaconz/signal/signal-state)
Your own site
<a href="https://agentmods.dev/skills/mattbaconz/signal/signal-state"><img src="https://agentmods.dev/badge/skills/mattbaconz/signal/signal-state/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 signal-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/mattbaconz/signal/signal-state"><img src="https://agentmods.dev/badge/skills/mattbaconz/signal/signal-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 492 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.
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.00012 $0.00492
Opus 5.5 $0.00005 $0.00197
Sonnet 5.5 $0.00002 $0.00098
Haiku 4.5 $0.00001 $0.00049

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

Security

Grade A, and why

signal-state 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 2mo 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.

claude-signal/skills/signal-state/SKILL.md · 64 lines

What it actually says

⚡ signal-state

This skill manages the Continuous State Engine for the SIGNAL protocol. It transitions the context window from an ephemeral chat history to a persistent .signal_state.md file on disk.

When to use

  • Start of session: Read .signal_state.md if it exists. It IS your context.
  • Significant actions: Update state on sub-task completion, PR merge, or focus shift.
  • Trigger: /signal-state → refresh file immediately.

How it works

Use write_file or replace to modify .signal_state.md in project root. No scripts required.

Format (.signal_state.md)

YAML frontmatter + 3 blocks: Context, Progress, Next.

---
signal_version: 0.2
boot_mode: BOOT:arch
updated_at: 2026-04-15T15:00:00Z
---
## Context
project=move-validator
stack=node+ts
scope=knight-validation

## Progress
[x] parse files
[x] validate L-shape 
[x] validate off-board edge cases
[/] SAN to coord conversion boundary
[ ] write unit tests for SAN parse

## Next
turn_focus=implement SAN string parsing in src/move.ts

Rules for Updating State

  1. Keep it atomic: The entire file should rarely exceed 30 lines.
  2. Never store code: The state file tracks pointers to progress, not the code itself.
  3. Overwrite, don't append: When updating progress, change [ ] to [x]. Do not just append completed items to an infinitely growing list.
  4. Pruning: If the Progress list exceeds 10 items, collapse the completed items [x] into a single summary line: [x] core knight validation (5 tasks).

Bootstrapping a new state

If the user asks to start using continuous state and the file doesn't exist, create it immediately based on the current context of the chat.

# Example action
write_to_file ".signal_state.md" <formatted_state_content>
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 64 lines · 12 tokens per session scan A 24073ebdeef5

Subscribe to this mod's changes

signal-state is a skill published in the GitHub repository mattbaconz/signal (11 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 492 once invoked, about $0.0000 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-31.

Related

signal-state compared with skills from other repositories

signal-state next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
signal-statemattbaconz/signalSkill114mo agoMITA12Claude Code
lov-auto-contextlovstudio/skillsSkill72todayMITA112Claude Code
lov-ataru-indexinglovstudio/skillsSkill72todayMITA55Claude Code
lov-search-chatlovstudio/skillsSkill72todayMITA53Claude Code
lov-memory-addlovstudio/skillsSkill72todayMITA43Claude Code
lov-memory-searchlovstudio/skillsSkill72todayMITA42Claude Code
learncraigcossairt/trellisSkill5yesterdayMITA77Claude Code, Codex