compile-agents-context
- Repo stars 0
- Author updated Live
- Author repo skills-registry
- Domain
- Documentation
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @tomevault-io · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: compile-agents-context
description: Generate and maintain AGENTS.md as a living project context document by scanning the repository…
category: documentation
runtime: no special runtime
---
# compile-agents-context output preview
## PART A: Task fit
- Use case: Generate and maintain AGENTS.md as a living project context document by scanning the repository, discovering agents/skills, and extracting conventions. Use when initializing Codex context for a repo, refreshing stale AGENTS.md, or after significant project structure changes. Use when this capability is needed..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Overview / Inputs / Workflow” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Generate and maintain AGENTS.md as a living project context document by scanning the repository, discovering agents/skills, and extracting conventions. Use when initializing Codex context for a repo, refreshing stale AGENTS.md, or after significant project structure changes. Use when this capability is needed.”.
- **02** When the source has headings, the agent prioritizes “Overview / Inputs / Workflow” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source mentions slash commands such as `/users`; use them first when your agent supports command triggers.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “Overview / Inputs / Workflow”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: compile-agents-context
description: Generate and maintain AGENTS.md as a living project context document by scanning the repository…
category: documentation
source: tomevault-io/skills-registry
---
# compile-agents-context
## When to use
- Generate and maintain AGENTS.md as a living project context document by scanning the repository, discovering agents/sk…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Overview / Inputs / Workflow” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "compile-agents-context" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Overview / Inputs / Workflow
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Compile Agents Context
Overview
Use this skill to run the old init command workflow as a Codex-native skill. It standardizes AGENTS discovery and regeneration with explicit options.
Inputs
scan_depth:shallow,medium, ordeep(defaultmedium)include_dependencies:trueorfalse(defaulttrue)auto_watch:trueorfalse(defaulttrue)
Workflow
1. Discover project context
- Read root project files (
README, manifests, config files). - Scan directories according to
scan_depth:shallow: root + first-level key folders.medium: default, includes feature/service folders.deep: broad scan for full architecture and conventions.
2. Discover agents and skills
- Search for agents in
.cursor/agents,.cline/agents,.agents,agents,.ai,prompts,system-prompts. - Search for skills in
.cursor/skills,.codex/skills,.agents/skills, and user-level paths if accessible. - Capture each discovered item with name, location, purpose, and trigger scenarios.
3. Extract conventions
- Capture coding and formatting standards from lint/format configs.
- Capture architecture, testing, and build/deploy patterns from project files and docs.
- Include dependency context only when
include_dependencies=true.
4. Generate or refresh AGENTS.md
- Write a complete
AGENTS.mdin repository root. - Include project overview, stack, structure, agent ecosystem, skill registry, conventions, and workflows.
- Preserve existing high-signal custom instructions when regenerating.
5. Configure auto-maintenance rule (optional)
- If
auto_watch=true, create/update.cursor/rules/agents-maintainer.md. - Define a rule that prompts AGENTS refresh when significant project structure changes occur.
Reference
Use /Users/carloscaceres/local/marius/code_samples/credit-applications-hub/.agents/skills/context-compilation-guide/SKILL.md for the detailed section template and generation depth guidance.
Output Contract
- Updated
/Users/carloscaceres/local/marius/code_samples/credit-applications-hub/AGENTS.md - Optional
/Users/carloscaceres/local/marius/code_samples/credit-applications-hub/.cursor/rules/agents-maintainer.md - Short summary listing files updated and discovery statistics
Source: cmcp0/credit-applications-hub — distributed by TomeVault.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review