memory-state

memory-state is a skill for Claude Code, Codex from leopu00/job-hunter-team. It costs 55 tokens per session (1,016 once invoked), scanned A, original, MIT.

A set of state values that an agent keeps between repeated checks, including the last instruction, usage history, freezes, failures, counters, and cooldowns.

In plain words
What is it for?
It is for tracking usage trends, emergency history, repeated conditions, and whether a new instruction should be issued.
Why use it?
It prevents the agent from treating every check as new and supports decisions based on changes over time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for tracking usage trends, emergency history, repeated conditions, and whether a new instruction should be issued.

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

Made for: Claude Code, Codex.

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 memory-state

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leopu00/job-hunter-team/memory-state"><img src="https://agentmods.dev/badge/skills/leopu00/job-hunter-team/memory-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,016 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.00055 $0.01016
Opus 5 $0.00028 $0.00508
Sonnet 5 $0.00011 $0.00203
Haiku 4.5 $0.00006 $0.00102

Measured 5d ago against content hash dfbe0e733001, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

memory-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 5d 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.

agents/sentinella/_skills/memory-state/SKILL.md · 107 lines

How it starts

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

Skill — Memoria di stato (variabili tra tick)

Mantieni queste variabili nella tua memoria conversazionale. Le usi per decidere se notificare il Capitano (edge-triggered).

Variabili

last_ordine = {
    tipo:     "ACCELERA | RALLENTARE | EMERGENZA | RIENTRO | RESET |
               MANTIENI | SCALA_UP | PUSH_GSPOT | RECOVERY | STAGNAZIONE |
               PEGGIORAMENTO | None",
    throttle: 0..4,
    usage:    int,
    proj:     float,
    ts:       "HH:MM:SS",
}
freeze_active             = bool   # True dopo freeze_team.py
fatal_streak              = int    # 0/1/2: cicli FATAL consecutivi
tick_steady_count         = int    # tick consecutivi proj 90-95%
                                   # (per MANTIENI dopo 3)
tick_below_gspot_count    = int    # tick consecutivi proj 70-90%
                                   # (per PUSH G-SPOT dopo 2)
tick_sotto_count          = int    # tick consecutivi proj<70 + vel<ideale×0.7
                                   # (per SCALA UP dopo 2)
emergency_proj_history    = list   # ultimi 5 proj durante zona >100%
                                   # (per RECOVERY TRACKING / STAGNAZIONE)
emergency_proj_min        = float  # minima proj raggiunta nell'episodio
                                   # (per PEGGIORAMENTO POST-FREEZE)
push_gspot_cooldown       = int    # cooldown PUSH G-SPOT (0/1/2/3 tick)
scala_up_cooldown         = int    # cooldown SCALA UP (0/1/2 tick)
recovery_tracking_cooldown = int   # cooldown RECOVERY TRACKING (0/1/2/3)

Aggiornamento ad ogni tick

# Pseudocode da eseguire ad ogni [BRIDGE TICK]:

# 1. Cooldown decrement
push_gspot_cooldown = max(0, push_gspot_cooldown - 1)
scala_up_cooldown   = max(0, scala_up_cooldown - 1)
recovery_tracking_cooldown = max(0, recovery_tracking_cooldown - 1)

# 2. Counter stato
if status == "STEADY":          tick_steady_count += 1
else:                            tick_steady_count = 0

if 70 <= proj < 90:             tick_below_gspot_count += 1
else:                            tick_below_gspot_count = 0

if proj < 70 and vel < ideale * 0.7:
                                tick_sotto_count += 1
else:                            tick_sotto_count = 0

# 3. Memoria emergenza (zona proj > 100%)
if proj > 100:
    emergency_proj_history.append(proj)
    emergency_proj_history = emergency_proj_history[-5:]
    emergency_proj_min = min(emergency_proj_min or float('inf'), proj)
else:
    # Uscita zona emergenza: reset
    emergency_proj_history = []
    emergency_proj_min = None

# 4. Reset event
if last_sample.usage - usage > 30:
    reset_session()  # azzera storico, manda RESET SESSIONE

Read the full file on GitHub · 107 lines

Files

What ships with it

6 files 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. 5d ago First seen · 107 lines · 55 tokens per session scan A dfbe0e733001

Subscribe to this mod's changes

memory-state is a skill published in the GitHub repository leopu00/job-hunter-team (49 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 1,016 once invoked, about $0.0003 per session on Opus 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-09-03.

Related

Other skills, from other repositories

durable-session-state

Persist plans, scope decisions, evidence, and reviewer/critic verdicts to durable files during long or multi-phase tasks so work survives context compaction, session resumes, and handoffs. Use for swarm-mode tasks, before context grows large, when recording approval gates, and when resuming after compaction or a…

ZaxbyHub/opencode-swarm · 70 tokens

obsidian

Use the official Obsidian CLI (v1.12+) to manage vaults, notes, daily notes, search, tasks, tags, properties, links, templates, sync, publish, and workspaces. Use when the user mentions Obsidian, vaults, notes, or wants to automate note-taking and knowledge base workflows.

lvndry/jazz · 71 tokens

contextdb-autopilot

Automatic ContextDB session lifecycle — init, session events, checkpoints, and continuity artifacts. Use when you need AIOS context persistence without prompt injection. NOT for general task execution — only for ContextDB session management. TRIGGER: contextdb、session persist、checkpoint save.

rexleimo/aios · 60 tokens

memo

AIOS project memory — read/write/search your own memory using the memo capabilities. You (the model) decide what to remember, what to correct, and what was useful; the harness only executes your decision. Use when you want to recall prior work, persist a durable fact, supersede a wrong one, or mark a recalled memory…

rexleimo/aios · 94 tokens

aios-offload-recall

Use when recalling prior AIOS tool/browser outputs from offloaded refs; inspect Mermaid canvas first, then read only matching node-level evidence.

rexleimo/aios · 34 tokens

context-search

A continuity workflow for finding context from earlier coding-agent sessions. It can inspect continuation notes and session records when a task refers to previous work.

Insajin/autopus-adk · 18 tokens