repo-audit
Run an explicit user-invoked repository audit in daily, weekly, or report mode against any repository.
Skill by maheen-ejaz
Chalk Labs
Need help deploying repo-audit?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/maheen-ejaz-repo-audit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/repo-audit
What's inside
- Skill name
repo-audit- Description
- Run an explicit user-invoked repository audit in daily, weekly, or report mode against any repository. Invoke explicitly with Pi's `/skill:<name>` syntax.
- License
- MIT
- Instructions
- 98 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- apply_audit_markers.py · scripts/
- apply_audit_markers_test.py · scripts/
- select_audit_scope.py · scripts/
- select_audit_scope_test.py · scripts/
SKILL.md (first lines)
# Repository audit Use only when the user explicitly invokes the `repo-audit` skill with `<mode> [repo ...]` where mode is `daily`, `weekly`, or `report`. This skill never controls ordinary coding and never runs on a schedule. ## Targets Audit only repositories named at invocation. Accept absolute paths or `owner/name`, and derive each GitHub identity with `git remote get-url origin` rather than assuming a path layout. If no repository is named, ask for the target instead of scanning the workspace or inventing a default set. ## Modes `daily` and `weekly` are repair-authorized and require a GitHub remote and `gh`. `report` is read-only and works on any repository, including one with no remote. For `daily` and `weekly`, run `gh pr list --repo <owner/name> --state merged --limit 1000 --json number,mergedAt,labels` from any directory, then pipe that JSON to `python3 <this-skill-directory>/scripts/select_audit_scope.py --mode <daily|weekly>`. - **Daily:** find the newest merged PR labelled `audit:daily` and review every later merged PR together against its current default branch. With no marker, audit the current default branch as the baseline. After successful completion, label every reviewed PR; a baseline labels only the newest merged PR. - **Weekly:** audit the complete current repositories regardless of labels. Use `audit:weekly` only to mark recently reviewed PRs; it never narrows later weekly scope. - **Report:** audit commits since the last successful audit, capped at 30 days unless `--full` is explicit. Record the commit range and affected paths before review; include only direct dependencies and critical affected paths. Verify at most ten candidates and return at most three confirmed, high-confidence, in-scope issues. No findings requires no follow-up. Create missing labels only when the audit is invoked, and only in `daily` or `weekly`. After all repairs, checks, delivery, production verification, and cleanup succeed, pass markerTargets to `scripts/apply_audit_markers.py`. It rolls back labels added by an incomplete batch. Marker application failure leaves the audit INCOMPLETE; never report successful coverage from a partial batch. ## Authority and checks Authority scales with mode. **`report` owns the audit report only** — not repairs, Linear state, branches, markers, or publication. Make no code, label, ticket, or branch changes. Deliver any selected repair batch afterwards through a separate bounded coding task using the repository's current guidance. **`daily` and `weekly`** authorize read-only production health checks and safe repairs through one owned branch and at most one PR per affected repository. Run the repositories' fast PR checks, affected checks across the selected merge range, broad product and security invariants, and one local database/migration/RLS/ACL replay. Check current production health and migration parity from each trusted default branch where applicable. Start Colima only for database work. Record whether it was already running; stop it only if the audit started it, and verify audit-owned containers and processes are gone before completion. In every mode, do not mutate production data, apply production migrations, change credentials, send provider traffic, perform manual deployments or app-store submissions, expand permissions, or make product-policy decisions without separate user authorization. ## Repairs and review In `daily` and `weekly`, repair confirmed findings automatically. Allow four productive repair cycles, then use the structured question tool for two more. If findings remain after six, request four-cycle batches; each batch needs fresh user approval. Never fail silently. Review the changed surface once. For security, payments, destructive data, migrations, deployment, or comparable high-risk work, use exactly one isolated, blind, read-only reviewer after checks. In `report` mode add that reviewer only when the audited change is high-risk. Merge safe verified repairs, verify deployment and release health, and clean the owned worktree and branches. ## Linear In `daily` and `weekly`, update an explicitly identified ticket with factual evidence and close it only after `COMPLETE`. For additional or optional work, ask once whether the user authorizes ticket creation. After consent, search for duplicates and create the necessary tickets using best judgment. Do not ask the user to review titles or scope, and do not start another coding task. `report` mode makes no Linear writes. ## Completion Report the mode, the audited repositories, the audited PR range or commit range, checks, repairs, PRs, production health, markers applied, Linear writes, and cleanup. For `report`, give evidence for each confirmed finding and any unresolved item with its owner and next trigger. No coordinator, routing lock, audit state, receipt, agent lane, convergence loop, watcher, or background process is permitted.
From maheen-ejaz/pi-agent-config, MIT.
More from maheen-ejaz/pi-agent-config
- 0.529score
bb-cli
maheen-ejaz
Use this when controlling bb.
SkillBFreshness: BClaude Code +9 - 0.524score
tdd
maheen-ejaz
Run strict test-driven development only when the user explicitly invokes the skill using Pi's `/skill:tdd` syntax.
SkillBFreshness: BClaude Code +9 - 0.521score
main-sync
maheen-ejaz
Inspect and safely align one Git repository's canonical main checkout with its fetched origin default branch.
SkillBFreshness: BClaude Code +9 - 0.521score
i-have-adhd
maheen-ejaz
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time…
SkillBFreshness: BClaude Code +9 - 0.521score
infisical-credential-access
maheen-ejaz
Automatically govern credential-backed work through repository-declared Infisical runners.
SkillBFreshness: BClaude Code +9 - 0.521score
linear-ticket-delivery
maheen-ejaz
Deliver one explicitly identified Linear ticket through implementation, merge, release, and production validation.
SkillBFreshness: BClaude Code +9 - 0.521score
worktree-retire
maheen-ejaz
Inventory Git worktrees and guide explicit, safe retirement of one verified worktree.
SkillBFreshness: BClaude Code +9 - 0.521score
linear-ticket-operations
maheen-ejaz
Automatically standardize every Linear issue read, search, create, edit, comment, metadata, relation, archive, unarchive, or delete operation with…
SkillBFreshness: BClaude Code +9 - 0.516score
resolving-merge-conflicts
maheen-ejaz
Resolve a real Git merge or rebase conflict by preserving the intended behavior from both sides.
SkillBFreshness: BClaude Code +9 - 0.516score
wayfinder
maheen-ejaz
Create a bounded decision map for a huge, foggy effort without starting implementation.
SkillBFreshness: BClaude Code +9 - 0.516score
writing-for-agents
maheen-ejaz
Write concise agent-facing instructions with clear triggers, ownership, and completion criteria.
SkillBFreshness: BClaude Code +9 - 0.516score
grilling
maheen-ejaz
Resolve a material product or implementation decision through a one-question-at-a-time interview.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/maheen-ejaz/pi-agent-config
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from maheen-ejaz
- 0.529score
bb-cli
maheen-ejaz
Use this when controlling bb.
SkillBFreshness: BClaude Code +9 - 0.524score
tdd
maheen-ejaz
Run strict test-driven development only when the user explicitly invokes the skill using Pi's `/skill:tdd` syntax.
SkillBFreshness: BClaude Code +9 - 0.521score
main-sync
maheen-ejaz
Inspect and safely align one Git repository's canonical main checkout with its fetched origin default branch.
SkillBFreshness: BClaude Code +9 - 0.521score
i-have-adhd
maheen-ejaz
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time…
SkillBFreshness: BClaude Code +9 - 0.521score
infisical-credential-access
maheen-ejaz
Automatically govern credential-backed work through repository-declared Infisical runners.
SkillBFreshness: BClaude Code +9 - 0.521score
linear-ticket-operations
maheen-ejaz
Automatically standardize every Linear issue read, search, create, edit, comment, metadata, relation, archive, unarchive, or delete operation with…
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get repo-audit running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
repo-audit skill. Agent Mart. https://agentmart.dev/skills/maheen-ejaz-repo-audit (last updated 2026-10-24)