Skip to content
Back to skills

Context

ASecurity

Scan project and generate/audit CLAUDE.md files with stack auto-detection and Context7 docs. Use when the user says /context, generate context, audit CLAUDE.md, update project instructions, or needs AI context files refreshed.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add bravros/bravros --skill context --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bravros-context/badge)](https://www.skillsdirectory.com/skills/bravros-context)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context
description: Scan project and generate/audit CLAUDE.md files with stack auto-detection and Context7 docs. Use when the user says /context, generate context, audit CLAUDE.md, update project instructions, or needs AI context files refreshed.
---

# Context — generate & audit CLAUDE.md files

Read [briefing.md](references/briefing.md) on demand for detailed context and instructions.

INTENT: detect the stack, then generate/audit a tree of **lean** CLAUDE.md files via parallel `claudemd-author` workers — one per directory cluster. `$ARGUMENTS` = a directory path or flag.

HARD CONSTRAINTS:
- **Never overwrite an existing CLAUDE.md without `--force`** — but always audit it for staleness and present findings for approval.
- **The leader never writes CLAUDE.md files directly** — all authoring goes through the `context-authors` workflow's parallel workers; that partitioning is what makes concurrent writes safe.
- **No auto-commit** — the user reviews generated files.
- **Emitted files obey the survival rule**: every line must be something only this repo knows (non-obvious convention, trap, tool gotcha, authority boundary). Anything the model would infer from the code stays out — the worker prompt in `scripts/context-authors.js` enforces this. Root CLAUDE.md ≤60 lines: a MAP, not an encyclopedia.

## Quick Summary

1. Detect stack → update `<!-- BRAVROS:CONTEXT:STACK START/END -->` in root `CLAUDE.md`.
2. Enrich via Context7 (optional/if present).
3. Scan for existing/warranted `CLAUDE.md` files or community clusters.
4. Dispatch `context-authors` parallel workers.
5. Present audit findings/staleness for user approval via user input.
6. Report summary of actions taken.

## Flags

`--force`/`-f` regenerate all · `--dry-run`/`-d` preview · `--root`/`-r` root file only · `--audit`/`-a` audit only · `--no-context7`

Files in this skill

  • SKILL.md1.8 KB
  • references/briefing.md2.6 KB
  • references/stack-detection.md1 KB
  • references/test-runners.md1.8 KB
  • scripts/context-authors.js5.3 KB
  • skill.yaml4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.