maintain
यह क्या करती है
यह स्किल आपके निजी ब्रेन की हेल्थ जांच करती है। इसमें पुराने तथ्य, ऑर्फ़न पेज, डेड लिंक, छूटे हवाले और गलत फ़ाइल हुए नोट्स खोजे जाते हैं।
कब इस्तेमाल करें
- ✓जब आप अपने एजेंट से ब्रेन की हेल्थ जांचने या मेंटेनेंस चलाने को कहें।
- ✓जब आप टूटे लिंक, छूटे स्रोत या पुरानी जानकारी वाले पेज खोजना चाहें।
- ✓जब आप हर भाग में समस्याओं की गिनती और हर एक का सुधार चाहें।
Skill का लिंक
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/maintain/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे ब्रेन में टूटे लिंक, पुराने तथ्य और ऐसे पेज खोजिए जिन्हें कोई लिंक नहीं करता, और बताइए उन्हें कैसे ठीक करूँ।”
हर हफ़्ते 5 नई skills, 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
- Run health check. Check gbrain health (
get_health) to get the dashboard.get_healthneeds admin scope; without it, callget_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 forgbrain doctor --jsonon the brain host, to cover them. - 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
gbrain
31kयह आपके एजेंट को लोगों, प्रोजेक्ट और फ़ैसलों के बारे में तथ्य खोजने के लिए साझा कंपनी ज्ञान ब्रेन में खोजने और उसमें स्थायी नोट सहेजने देती है।
brain-ingest-gate
31kयह आपके एजेंट को नई सामग्री जोड़ने से पहले मौजूदा ज्ञान ब्रेन से जाँचने देती है, ताकि डुप्लिकेट न बनें और नामित इकाइयाँ पहले सुलझें।
brain-link-discipline
31kयह सुनिश्चित करती है कि आपका एजेंट हर उस ब्रेन पेज का काम करने वाला लिंक उसी संदेश में दे, जिसकी वह रिपोर्ट करता है, ताकि आप उसे तुरंत खोल सकें।
brain-ops
31kयह आपके एजेंट को ज्ञान ब्रेन की मुख्य दिनचर्या देती है: पहले मौजूदा संदर्भ जाँचना, स्पष्ट नोट उनके स्रोत के साथ सहेजना, और संबंधित पेज जोड़ना।
मिलती-जुलती skills
technical-documentation
394kयह आपके एजेंट को साफ़ तकनीकी डॉक्स और एजेंट निर्देश फ़ाइलें लिखने और जांचने में मदद करती है, ताकि लोग और AI टूल उन्हें आसानी से समझ सकें।
architecture-decision-records
280kयह आपके एजेंट को project structure से जुड़े ज़रूरी फैसलों को दर्ज करने देता है। इससे पता चलता है कि कोई चुनाव क्यों किया गया, और बदलावों का साफ़ इतिहास बना रहता है।
code-tour
280kआपके एजेंट को exact file और line references के साथ step-by-step code walkthrough बनाने देता है। intro, explanations और reviews के लिए उपयोगी है।