본문으로 건너뛰기
cccskills
무료GitHub에 공개

system-health

Preventive hygiene audit of your own Claude Code configuration — memory files, project context (CLAUDE.md), rules, permissions, skills — a deterministic scan of sizes / broken links / stale entries / excessive permissions / junk + interpretation + targeted fixes by agreement. Keeps the setup from rotting before it breaks. Triggers — "check the system", "system health", "workflow hygiene", "what to clean up", "audit memory", "optimize the system".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/system-health — Claude Code config hygiene

Keeps the setup "in an optimization flow": a cheap regular measurement catches degradation (bloated memory/context files, broken links, stale entries, excessive permissions, junk) BEFORE it breaks. Like a server health check, but for your Claude Code configuration rather than servers.

When to use

  • On command or the trigger phrases above.
  • Once a week (can be scheduled).
  • After a large session with heavy writes to memory.
  • When a built-in hook warns "memory index over limit" (that's the signal it's time).

Process

Step 1 — deterministic measurement (0 LLM tokens)

A read-only shell pass that changes nothing and emits metrics with ✓OK / ⚠️WARN flags. Measure:

  • Size of the memory index and each topic file vs the model's read limit.
  • Broken [[wiki-links]] / pointers in the active index (a link to a non-existent file is a distractor).
  • Stale "next-session" / TODO carryovers that are actually finished.
  • Orphan files (referenced by no index — invisible to recall, dead weight).
  • Project context file size vs target.
  • Excessive permission entries (specific grants subsumed by a wildcard).
  • .bak/junk files lying around.

Step 2 — interpretation (LLM)

Read the report. Focus on ⚠️WARN lines. Translate each into a concrete diagnosis: what grew/went stale and why it hurts (recall / tokens / security).

Step 3 — targeted fixes BY AGREEMENT

Propose minimal surgical fixes per WARN. Don't act silently (except pure junk). ROI order:

  • broken links in the active index (CRITICAL) → fix/remove immediately (distractors hurt recall).
  • index over target → compress reactively: longest lines first; then move on-demand references out of the "active" section into an on-demand index; finished/dormant → an archive file. Don't cut live facts for a metric.
  • stale "next-session" carryovers → read status, move finished/dormant to archive.
  • orphan files (no pointer in any index) → either wire a pointer into the right index, or archive/delete (user decides). A file with no pointer is invisible to recall.
  • consolidation candidates (a topic spread across many files) → read the group, distinguish DUPLICATES (one fact in N files → merge into one, the rest a link) from FACETS (different triggers → leave alone). Only merge real duplicates, by agreement.
  • project context file over target → move dated patch-history into topic memory, keep state + ⚠️ invariants + pointers.
  • excessive permissions → remove specific grants subsumed by a wildcard, keeping MCP/Skill/deny entries.
  • .bak junk → move to a backups dir (pure junk — fine without asking).

Discipline (the "change accounting" rule)

Back up BEFORE any mutation (snapshot memory + rules to a backups dir) → surgical edit → verify by checking (size + a diff of preserved entries/invariants against the backup, not on faith) → record in one place.

Anti-actions

  • ❌ Don't squeeze to a target blindly, losing facts — the read limit matters more than a cosmetic target; if the index loads fully, further squeezing is optional.
  • ❌ Don't mass-merge topic files — "many files on a topic" ≠ duplicates; they're facets with different triggers, merging loses recall.
  • ❌ Don't delete skills/files without agreement — they're the user's data/tools; show the finding, the user decides.
  • ❌ Don't touch passwords/credentials in memory silently — move to a secrets store only on command.
  • ❌ Don't measure size in bytes — the built-in memory hook measures in Unicode CHARACTERS (non-Latin scripts can be 2 bytes/char).

Principle

Hygiene is preventive and cheap. A weekly deterministic scan is a few seconds; the LLM only interprets the WARN lines and proposes surgical, reversible fixes by agreement.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

goal

무료

Autonomous goal loop — give it ONE goal plus how to verify it, the agent runs check→fix→check itself and comes back only with the finished result (code with audit, research with fact-check, content with critique, audit/backtest). Self-verification instead of constant supervision, with hard safety guards. Vary the loop with a verification rubric designed before it runs. Triggers — "work autonomously to the result", "don't come back until it's done", "run the loop yourself", "drive it to done".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sanexxxx777/curated-claude-code162026년 9월 7일 업데이트

konsilium

무료

Council — 5 independent AI perspectives + mutual critique + synthesis (adapted from karpathy/llm-council for Claude Code). For high-stakes decisions where the answer does NOT follow unambiguously from the data — go/no-go before real consequences, critiquing a methodology, choosing between competing approaches, pressure-testing a conclusion you're attached to, designing risk controls. NOT for log/data analysis (the council has no data access) and not for factual lookups. Triggers — "convene the council", "run it past the council", "go/no-go", "pressure-test this".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sanexxxx777/curated-claude-code162026년 9월 7일 업데이트

longread

무료

Write an analytical longform piece — a 4-phase pipeline from raw idea to finished text, with research-backed facts and a devil's-advocate pass before publishing. Invoke /longread <topic>. Triggers — "write a longread about X", "write an analytical breakdown of Y", "write an expert post", "turn this into an article".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sanexxxx777/curated-claude-code162026년 9월 7일 업데이트

pre-push

무료

A gate before git push / deploy — assembled from your own tools (secret-grep + slop-scan + code-review + build/compile + optional worktree isolation), so AI junk (slop / bugs / secrets / uncompiled code) never reaches a remote or a production server. Turns "I hope it's clean" into a verifiable criterion. Branches: web/OSS (git push/PR) vs deploy-to-server service. Triggers — "check before push", "clean push", "gate before push", "finalize before commit", "run before deploy".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sanexxxx777/curated-claude-code162026년 9월 7일 업데이트

proof

무료

Prove — or honestly fail to prove — a specific technical claim: "the fix works", "it's deployed", "the service is running", "the site is done", "there are no vulnerabilities". Atomizes the claim, picks the shortest decisive signal on the evidence ladder, and returns a verdict from a fixed vocabulary (pass / partial / fail / skip) with an explicit coverage boundary. NOT code review, NOT a fix, NOT orchestration — only "what is proven, and what we merely hope". Triggers — "prove it works", "is it really done?", "are you sure?", "we deployed — is it live?", "verify that", "did we actually check?".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sanexxxx777/curated-claude-code162026년 9월 7일 업데이트

Security launch audit for a public web app BEFORE you ship or hand it to a client — "vibe coders are getting sued", systematized. An executable pipeline: classify (static / full-stack / AI) → run sections (secrets+supply-chain, DB, auth, infra+headers, legal, LLM/injection) orchestrating deterministic tools + manual checks → GO/NO-GO report. Adapted from Prajwal Tomar's playbook, extended with prompt-injection / supply-chain / secret-history / dependency-CVE layers. NOT the same as pre-push (that = clean push; this = is the product itself safe to launch). Triggers — "security checklist for the site", "audit before launch", "is the site safe", "check before handing to client".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sanexxxx777/curated-claude-code162026년 9월 7일 업데이트

Sanexxxx777의 스킬 모두 보기

이 스킬의 문제 신고