본문으로 건너뛰기
Skillpedia
문서화31k · #9261

maintain

하는 일

이 스킬은 개인 브레인의 상태 점검을 실행합니다. 오래된 사실, 고아 페이지, 죽은 링크, 빠진 인용, 잘못 분류된 메모를 찾습니다.

사용하는 경우

  • ✓에이전트에게 브레인 상태 점검이나 유지 관리를 요청할 때.
  • ✓깨진 링크, 빠진 출처, 오래된 사실이 있는 페이지를 찾고 싶을 때.
  • ✓브레인의 각 영역에서 문제 수를 세고 각 문제마다 해결 방법을 받고 싶을 때.

스킬 링크

https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/maintain/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/maintain/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“브레인에서 깨진 링크, 오래된 사실, 아무도 연결하지 않은 페이지를 확인하고 고치는 방법을 알려 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 브레인의 각 부분을 검토합니다. 링크와 인용부터 파일 위치와 태그까지 살펴보며, 영역별 개수와 발견한 문제마다 권장 수정 방법을 보고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Maintain Skill

Periodic brain health checks and cleanup.

Contract

This skill guarantees:

  • All health dimensions are checked (stale, orphan, dead links, cross-refs, backlinks, citations, filing, tags)
  • Each issue found has a specific fix action
  • Back-link iron law is enforced
  • Citation format is validated against the standard
  • Results are reported with counts per dimension

Phases

Ownership failures are an inspection boundary

Routine maintenance, startup checks, doctor --fix, and a request to "fix what's broken" do not authorize writer topology changes. On owner_unavailable or a writer coordination refusal, inspect gbrain sources writer status --brain <id> --json on the selected host first and report the owner, epoch, enabled state and blocked recovery to the operator. Do not claim a checkout, activate managed mode, transfer an owner, replace identities, or remove ownership markers as a repair. When the status reads enabled: false and the refusal says unbound_source, the brain is in classic mode on purpose: report that writes go through the checkout (file, commit, gbrain sync) and leave it classic. Deliberate administration requires a separately approved topology change and the action-specific intent plus reviewed state precondition described in docs/architecture/topologies.md. Neither a TTY nor --yes nor --confirm-quiesced substitutes for that decision. Remote credentials remain ineligible for local writer administration.

Autonomous path (v0.36.4.0) — when you want to reach a target score

If the user asks "get my brain to 90/100" or "fix what's broken", preview first and ask before applying anything:

gbrain doctor --remediation-plan --json              # preview: job steps + repair steps
# Show the user the repair steps (each "requires user agreement") and the cost.
# Only after the user agrees (plan_hash from the preview binds the approval):
gbrain doctor --remediate --yes --include-repairs --expect <plan_hash> --target-score 90 --max-usd 5

--remediation-plan prints a dependency-ordered list of job steps (sync before extract, embed after consolidate, etc.) with per-step est_seconds and est_usd_cost, and, independent of the score target, the PROTECTED repair steps for every gbrain repair kind with pending items. Each step carries the exact command that applies it, and the plan ends with one combined command. --remediate runs the repair steps only with --include-repairs (the user's agreement; without it they are listed as skipped), then walks the job plan, submitting each step as a Minion job and re-checking score between steps. --max-usd N is a cumulative cost cap across the run and every --resume: a paid step that would exceed it is not started, free steps still run, and the run stops with a resume command that keeps the cap and the agreement.

When the target score is unreachable for the brain (empty brain with no entity pages → graph_coverage caps at 70; unconfigured embedding key → caps at 60), job steps stop with a list of what's missing rather than looping; included repair steps still run. --json classifies each finding cleared, pending, consent_required, operator_required (follow its instruction) or unsupported (report it; nothing clears it yet). After an upgrade, follow the recipe in docs/guides/repair.md#recover-after-upgrading-to-this-release.

Use the per-dimension walk below (Phase 2 onward) when:

  • The user explicitly asks for a dimension-by-dimension audit
  • You're investigating why score is stuck below --remediate's ceiling
  • A specific dimension needs manual judgment that the auto path skips

Manual path

  1. Run health check. Check gbrain health (get_health) to get the dashboard. get_health needs admin scope; without it, call get_brain_health (read scope), which returns bands only (write capacity, write failures, ghost pages, unsearchable chunks), and skip the dimensions it cannot answer: stale pages, orphan pages, dead links, embed coverage, link and timeline counts and the brain score. Name the skipped dimensions in the report and ask for an admin token, or for gbrain doctor --json on the brain host, to cover them.
  2. Check each dimension:

Stale pages

Pages where compiled_truth is older than the latest timeline entry. The assessment hasn't been updated to reflect recent evidence.

  • Check the health output for stale page count
  • For each stale page: read the page from gbrain, review
자주 묻는 질문

문제를 스스로 고치나요?

주로 문제를 찾고 각 문제의 해결 방법을 제시합니다. 브레인 저장 방식에 큰 변경을 하지는 않습니다.

인용도 확인하나요?

네. 사실이 표준 인용 형식을 따르는지 확인하고, 따르지 않는 것은 보고합니다.

아무 데서도 연결되지 않은 페이지를 찾을 수 있나요?

네. 고아 페이지, 즉 다른 페이지가 연결하지 않는 페이지를 찾습니다.

상세 정보

작성자의 원본 설명

Brain health checks: back-link enforcement, citation audit, filing validation, stale info detection, orphan pages, and benchmarks. Use when asked to check brain health, run maintenance, or audit quality.

repo: garrytan/gbrain

인기도

GitHub 스타
31k
순위
#9261
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬