hygiene

hygiene is a skill for Claude Code, Codex from Glad-Labs/poindexter. It costs 51 tokens per session (680 once invoked), scanned A, original, Apache-2.0.

A memory-maintenance aid that compresses rows from one day or older groups of stored information into shorter summaries.

In plain words
What is it for?
Use it to summarise daily source-table records or consolidate older memories from the same source.
Why use it?
It limits storage growth while keeping the main meaning available for later retrieval.

Skill for Claude CodeCodex

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

Good fit Use it to summarise daily source-table records or consolidate older memories from the same source.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/glad-labs/poindexter/hygiene
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 Glad-Labs/poindexter --skill hygiene
Clone the repo
git clone --depth 1 https://github.com/Glad-Labs/poindexter

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 hygiene

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/glad-labs/poindexter/hygiene"><img src="https://agentmods.dev/badge/skills/glad-labs/poindexter/hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 680 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.00051 $0.00680
Opus 5 $0.00026 $0.00340
Sonnet 5 $0.00010 $0.00136
Haiku 4.5 $0.00005 $0.00068

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

Security

Grade A, and why

hygiene 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 10d 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.

src/cofounder_agent/skills/ops/hygiene/SKILL.md · 64 lines

How it starts

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

Hygiene skill

Operational summarization prompts that bound storage growth. ops.retention.summarize_to_table is used by services/integrations/handlers/retention_summarize_to_table.py to compress one calendar day of rows (e.g. audit_log) into a single summary row. memory.collapse_old_embeddings.summary is consumed by services/integrations/handlers/retention_embeddings_collapse.py (#242, retired services/jobs/collapse_old_embeddings.py 2026-06-24) — a per-policy-row config.prompt_template wins over the catalog default (poindexter#829 wired the handler to this key).

UnifiedPromptManager resolves each template by key; both handlers fetch the raw template through the gated _resolve_template_with_meta seam and apply the {...} placeholders themselves. The inline fallbacks in the handlers stay as a bootstrap safety net per feedback_prompts_must_be_db_configurable and must stay byte-identical to the bodies below (the shared drift guard enforces it).

ops.retention.summarize_to_table

You are compressing one calendar day of {source_table} rows so the system remembers the gist without storing every row. Below are {n} representative rows from {bucket_start_iso}, each separated by '---'.

Write a single paragraph (3-6 sentences) summarizing what happened that day. Preserve specific event types, sources, severity, decisions, and outcomes. Drop boilerplate and repetition. The summary will be stored as a single row replacing all {row_count} raw rows for the day, so dense factual content beats prose.

Rows:
{joined}

Summary:

memory.collapse_old_embeddings.summary

You are compressing a cluster of older memories so the system remembers the gist without storing every detail. Below are {n} excerpts from the same source ({source_table}), each separated by '---'.

Write a single paragraph (3-6 sentences) summarizing what these excerpts collectively say. Preserve specific names, dates, decisions, errors, and outcomes. Drop boilerplate, repetition, and verbose phrasing. The summary will be embedded and used for future semantic search, so dense factual content beats prose.

Excerpts:
{joined}

Summary:

Read the full file on GitHub · 64 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. 10d ago First seen · 64 lines · 51 tokens per session scan A 901946af02d0

Subscribe to this mod's changes

hygiene is a skill published in the GitHub repository Glad-Labs/poindexter (5 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 680 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-08-31.

Related

Other skills, from other repositories

crawl4ai

AI-friendly web crawling and content extraction via Crawl4AI. Use when: (1) need to scrape web pages for AI consumption, (2) extract structured data from websites, (3) convert web content to clean Markdown, (4) build RAG knowledge bases from web sources. Preferred over basic fetch when pages have JS rendering or…

djblack1209-coder/OpenClaw-Bot · 75 tokens

feishu-wiki

Feishu knowledge base navigation. Activate when user mentions knowledge base, wiki, or wiki links.

djblack1209-coder/OpenClaw-Bot · 24 tokens

status

Use when the user wants a one-screen view of current hyperflow project state — version, profile freshness, memory count, and live progress on every in-flight task. Read-only; never modifies state, never dispatches workers. Trigger with /hyperflow:status, "what is hyperflow doing", "show task progress", "where are we".

jeremylongshore/tons-of-skills-marketplace · 72 tokens

hive.note-taking

Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.

aden-hive/hive · 30 tokens

notes

Skill "notes" from Pinvou/pinvou-agent, covering ima notes, operations, write rules, examples and response handling.

Pinvou/pinvou-agent · 0 tokens

exploiting-format-string-vulnerabilities

Methodology for exploiting format string bugs where attacker-controlled data reaches the format argument of printf-family functions, enabling stack/memory disclosure (info leaks for ASLR/PIE/canary defeat) and arbitrary write primitives (%n) to hijack control flow via GOT/.finiarray overwrites.

xalgorix/xalgorix · 69 tokens