SkillTrust

← All skills

agentsop-session-state-hygiene

90 / 100 · Low risk

Fine to try.

By agentsope/SkillAlchemy (GitHub) · coding · 469 stars · scanned at commit 955562e

Decision protocol for managing the context/session state of an AI coding tool: when to /clear, when to keep context, and how to detect "context bleed" — the failure mode where stale conversation history biases the model against the current task. Surfaces a discipline that Aider (/clear), Claude Code (/clear), CrewAI (memory=False, re-instantiate), and LangGraph (new thread_id, subgraph isolation) all encode separately but none name as a skill.

Works with any agent that supports SKILL.md skills.

What this skill can do

Changes files outside its own folder

The author does not mention this.

Found in 2 places.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'agentsop-session-state-hygiene' ] || [ -L ~/.agents/skills/'agentsop-session-state-hygiene' ]; then echo 'A skill folder named agentsop-session-state-hygiene already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/agentsope/SkillAlchemy' "$d" && git -C "$d" checkout --quiet '955562e4416c483da946e9c95a1c3974ac52df3c' -- 'skills/agentsop-session-state-hygiene' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/agentsop-session-state-hygiene' ~/.agents/skills/'agentsop-session-state-hygiene' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'agentsop-session-state-hygiene' ~/.claude/skills/'agentsop-session-state-hygiene' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for agentsope/SkillAlchemy shows the score of its lowest-scoring skill.

SkillTrust badge for agentsope/SkillAlchemy

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/agentsope/SkillAlchemy.svg)](https://zalavijaysinh.github.io/skilltrust/repos/agentsope/SkillAlchemy/)

Score history

DateVersionScore
2026-11-09955562e90
2026-11-07cf4376890