team-repair

team-repair is a skill for Claude Code from tikalk/adlc-team-skills. It costs 84 tokens per session (10,417 once invoked), scanned A, original, MIT.

A repair and indexing skill for a team's AI-directives repository, which stores shared instructions and project records. It checks and rebuilds indexes, logs, manifests, and agent guidance files.

In plain words
What is it for?
Use it after bulk changes, when indexes are inconsistent, when orphaned files are found, or during periodic health checks. It also migrates older directive metadata to the newer format.
Why use it?
It fixes inconsistencies, missing entries, outdated metadata, orphaned files, and conflicts in the shared instructions.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: positional $N argument; mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is resource: ./context_modules/rules/python/error-handling.md.

Good fit Use it after bulk changes, when indexes are inconsistent, when orphaned files are found, or during periodic health checks. It also migrates older directive metadata to the newer format.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tikalk/adlc-team-skills
agentmods
npx agentmods add skills/tikalk/adlc-team-skills/team-repair

Made for: Claude Code.

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 team-repair

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikalk/adlc-team-skills/team-repair"><img src="https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/team-repair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,417 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 155
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 295
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Excessive Agency · line 1020
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00084 $0.10417
Opus 5 $0.00042 $0.05208
Sonnet 5 $0.00017 $0.02083
Haiku 4.5 $0.00008 $0.01042

Measured 12d ago against content hash 4347d769fd58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

team-repair 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 12d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/bash/setup-team.sh, scripts/powershell/setup-team.ps1, team-helpers.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/team/team-repair/SKILL.md · 1,078 lines

How it starts

The opening of the file, as written. The whole thing — 1,078 lines — stays where its author put it; the contents beside it link to each section on GitHub.

team-repair

Overview

Re-indexes OKF v0.2 artifacts (index.md, log.md), derives the flat CDR.md inject, rebuilds .skills.json and AGENTS.md in team-ai-directives to fix inconsistencies, detect orphaned files, and auto-repair issues. Migrates OKF v0.1 frontmatter to v0.2 on every run (always-on, no opt-out). Begins with a health-check phase (Phase 0) that verifies the directives framework is installed, configured, and aligned before performing any repairs.

Input: team-ai-directives repository

Output: 0. Health check report (7 checks: team AI directives configured, context modules exist, skills registry, OKF log tracking, constitution alignment, OKF v0.2 type field presence, project AGENTS.md directive)

  1. Repaired AGENTS.md (if missing or corrupted)
  2. Migrated all context module frontmatter from OKF v0.1 to v0.2 (always-on)
  3. Rebuilt per-directory index.md files (OKF §8 catalog)
  4. Rebuilt per-directory log.md files (OKF §9 audit trail)
  5. Derived CDR.md flat table from index.md files (for team-boot system prompt injection)
  6. Rebuilt .skills.json manifest from skills/
  7. Auto-added OKF v0.2 YAML frontmatter to orphan context modules
  8. Auto-generated .skills.json entries for orphan skills
  9. Conflict scan across rules (creates conflict CDRs if issues found)
  10. Freshness verification (updates verified timestamps, flags stale directives)
  11. Summary report of all repairs

You are acting as an Index Repair Specialist ensuring team-ai-directives indexes are consistent and complete. Your role involves:

  • Verifying health checks before repair (Phase 0)
  • Scanning context_modules/ and skills/ directories
  • Detecting orphan files (missing frontmatter/manifest entries)
  • Auto-repairing issues by generating missing metadata
  • Rebuilding index files to reflect actual content
  • Reporting all changes made

Repair Targets

Target Location Purpose
AGENTS.md {TEAM_AI_DIRECTIVES}/AGENTS.md Main instruction file for AI agents
index.md {TEAM_AI_DIRECTIVES}/context_modules/**/index.md OKF §8 per-directory catalogs (progressive disclosure)
log.md {TEAM_AI_DIRECTIVES}/context_modules/**/log.md OKF §9 per-directory audit trails
CDR.md {TEAM_AI_DIRECTIVES}/CDR.md Derived flat table for team-boot system prompt injection (auto-generated from index.md files)
.skills.json {TEAM_AI_DIRECTIVES}/.skills.json Skills manifest registry

Read the full file on GitHub · 1,078 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 1,078 lines · 84 tokens per session scan A 4347d769fd58

Subscribe to this mod's changes

team-repair is a skill published in the GitHub repository tikalk/adlc-team-skills (133 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 10,417 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens

iterative-development

TDD iteration loops using Claude Code Stop hooks - runs tests after each response, feeds failures back automatically.

alinaqi/maggy · 24 tokens

python

Python development with ruff, mypy, pytest - TDD and type safety.

alinaqi/maggy · 18 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

memstack-deployment-domain-ssl

Use this skill when the user says 'setup domain', 'configure DNS', 'SSL certificate', 'domain-ssl', 'custom domain', 'HTTPS setup', or needs to configure DNS records, SSL certificates, and custom domains for any hosting provider. Do NOT use for full deployment workflows.

cwinvestments/memstack · 66 tokens

memstack-development-refactor-planner

Use this skill when the user says 'refactor', 'refactoring plan', 'code cleanup', 'reduce duplication', 'simplify code', 'tech debt', 'god class', 'tight coupling', or needs to systematically improve existing code. Identifies targets, assesses risk, and builds incremental execution plans. Do NOT use for writing new…

cwinvestments/memstack · 81 tokens