aura-compact

aura-compact is a skill for Claude Code from smorky850612/Aurakit. It costs 23 tokens per session (397 once invoked), scanned A, original, MIT.

A command that saves a short snapshot of the current work, including what is finished and what remains, then tells you to compact the conversation. Conversation compaction shortens the working context so an agent can continue with less history.

In plain words
What is it for?
Use it before compacting an agent session to record the original request, completed work, remaining work, and next action.
Why use it?
It preserves the task state before the conversation is shortened, reducing the chance that important progress or next steps are lost.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the aurakit plugin — 3 skills, 23 agents shipped together

Good fit Use it before compacting an agent session to record the original request, completed work, remaining work, and next action.

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

Made for: Claude Code.

Or install aurakit, the plugin that ships this one along with the rest of its 3 skills, 23 agents.

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 aura-compact

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/smorky850612/aurakit/aura-compact"><img src="https://agentmods.dev/badge/skills/smorky850612/aurakit/aura-compact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 397 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.00023 $0.00397
Opus 5 $0.00012 $0.00198
Sonnet 5 $0.00005 $0.00079
Haiku 4.5 $0.00002 $0.00040

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

Security

Grade A, and why

aura-compact 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.

skills/aura-compact/SKILL.md · 52 lines

What it actually says

/aura-compact — 스냅샷 저장 + 컴팩트

실행 순서 (순서대로, 생략 없이)

Step 1 — 스냅샷 저장 (Bash 도구로 직접 작성)

Write 도구 사용 금지 — Read-before-Write 충돌 방지를 위해 Bash cat > 사용.

mkdir -p .aura/snapshots
cat > .aura/snapshots/current.md << 'SNAPEOF'
# AuraKit Snapshot
- Timestamp: [현재 UTC ISO 8601]
- Mode: [진행 중인 모드]
- Original Request: [사용자의 원래 요청]

## Completed
[완료된 항목들]

## Remaining
[남은 항목들]

## Next Action
[다음에 할 일]
SNAPEOF

Step 2 — 최종 출력 (이것만, 짧게)

스냅샷 저장 완료 후 즉시 아래만 출력:

⚡ aura-compact 완료 — 스냅샷 저장됨.
👉 /compact

👉 /compact 를 반드시 마지막 줄에 단독으로 출력한다. 사용자가 이것만 복사해서 붙여넣으면 끝나도록.

금지 사항

  • ❌ Write 도구 사용 금지 (Read-before-Write 충돌)
  • ❌ PowerShell SendKeys 금지
  • ❌ export CLAUDE_AUTOCOMPACT_PCT_OVERRIDE 변경 금지 (자식 프로세스 한정, 효과 없음)
  • ❌ Start-Sleep / 대기 금지
  • ❌ 장황한 설명 금지 — 스냅샷 + 한 줄 안내만
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 · 52 lines · 23 tokens per session scan A 8144ce3231d7

Subscribe to this mod's changes

aura-compact is a skill published in the GitHub repository smorky850612/Aurakit (41 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 397 once invoked, about $0.0001 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-30.