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

context-hygiene

Nightly context trim for ACTIVE_PRIORITIES and the dated SESSION_LOG schema. Archives before removal, uses content-hash compare-and-swap, and refuses unknown shapes.

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

wrg32786/aigent-os스타 25(GitHub 25 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.6 KB

SKILL.md(원문)

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

/context-hygiene

This is the sole bounded compaction exception to the Session Log chronicle. It runs only when invoked, never while the framework is being installed or tested against a real vault.

Precondition

  1. Read vault/memory/SESSION_LOG.md and vault/memory/ACTIVE_PRIORITIES.md.
  2. Hash both exact byte streams with SHA-256.
  3. Run:
node daemons/nightly-context-hygiene.mjs --root <aigent-root>

Green means no edit is needed. Red permits only the bounded archive below. Unreadable or unfamiliar content is a failure, not permission to rewrite.

Session Log archive

The executable target schema uses newest-first dated H2 blocks. A canonical block starts with ## YYYY-MM-DD - title and contains one nonempty occurrence of each field:

  • Objective
  • Completed
  • Decisions
  • Open threads
  • Next action

Archival rules:

  • Keep the newest five live dated blocks.
  • Move older whole blocks to vault/memory/SESSION_LOG_ARCHIVE_<YYYY-MM-DD>.md.
  • Preserve source text and order.
  • Preserve frontmatter, title, schema guidance, and archive links.
  • Dedupe by exact dated heading plus block hash.
  • Refuse a block whose boundary cannot be determined without judgment.

Active Priorities archive

The mechanically checkable live shape contains:

  • exactly one ## Operating Mode: <mode> heading;
  • one to five live bullet priorities under ## Tier 1, ## Tier 2, or ## Tier 3 headings;
  • no placeholder priority;
  • one valid Last reviewed: YYYY-MM-DD line; and
  • no embedded ## Archived section.

Move only content explicitly marked stale, superseded, or archived to vault/memory/ACTIVE_PRIORITIES_ARCHIVE_<YYYY-MM-DD>.md. If removal requires a human decision, preserve it and report the gate.

Compare-and-swap

Immediately before each write, hash the live source again. If either hash differs from the precondition hash, abort with CONTEXT_HYGIENE_RACE. Archive must be durable before the source is trimmed.

After writing, re-run the checker. Only its literal CONTEXT_HYGIENE PASS receipt may record the checkpoint green. Return archive paths and before/after hashes in bounded detail. Never touch another memory file.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Track and surface sub-agent dispatch calibration ratios. Extract from JSONL transcript or read existing ledger. Per-agent clean/blocked/errored/partial trends.

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

wrg32786/aigent-os252026년 10월 29일 업데이트

Compose the AIgent's body state by reading existing signals. Lazy compute. Never polled. Reports the five pressures + recommended reflex.

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

wrg32786/aigent-os252026년 10월 29일 업데이트

brief

무료

Generate a structured delegation brief for any task

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

wrg32786/aigent-os252026년 10월 29일 업데이트

Quarterly skill that walks the skill-index against the actual SKILL.md files on disk, reports drift (skills indexed that no longer exist, skills on disk that aren't enrolled, skills whose descriptions have changed since enrollment). Hardens the auto-enrollment pipeline against silent rot.

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

wrg32786/aigent-os252026년 10월 29일 업데이트

When a [CADDY] hint fires and the principal is confused why, /caddy-explain walks the scoring transparently — which trigger matched, what points it earned, what the threshold was, what other skills were close. Pairs with the legibility thesis. Caddy's decisions should be inspectable on demand.

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

wrg32786/aigent-os252026년 10월 29일 업데이트

Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives. Use when a new skill is created, copied in, or when a skill needs updated triggers. Usage — "/caddy-enroll <path to SKILL.md>".

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

wrg32786/aigent-os252026년 10월 29일 업데이트

wrg32786의 스킬 모두 보기

이 스킬의 문제 신고