manage-agents-md
Creates, updates, and reviews AGENTS.md contracts, including navigation and skill references. Use when folders or instructions change, a skill is added, renamed, moved, or retired, its invocation conditions change, the operator states a preference to keep, or contracts need review.
- License 许可
- MIT
- 所属仓库
- MYRS-ai/aiOS
- 最近更新
- 2026-10-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- manage-agents-md
- description
- Creates, updates, and reviews AGENTS.md contracts, including navigation and skill references. Use when folders or instructions change, a skill is added, renamed, moved, or retired, its invocation conditions change, the operator states a preference to keep, or contracts need review.
02 资源文件 1
- 参考文档agents/openai.yaml46 B
03 SKILL.md 正文
Manage AGENTS.md
Keeps each folder's contract true to the folder, so agents find the right instructions and files.
When to use
- A folder is added, moved, renamed, or removed.
- File changes affect a folder's instructions or navigation.
- A folder's purpose or instructions change.
- A skill is added, renamed, moved, or retired, or its invocation conditions change.
- The operator states a preference that should apply to future work in a folder.
- The operator wants a folder tree checked for outdated contracts.
For related work:
- To add a workspace, use
aios-core:setup-aios. - To create or change a skill, use
aios-core:manage-skills. - Contracts inside complete examples describe the example's folders.
Workflow
Before you begin:
- Read the contract definition first. It defines the contract structure and when a folder needs one.
- Read applicable ancestor contracts before editing, including ancestors outside a nested Git checkout.
- Follow Maintaining vocabulary before introducing or changing concepts in a contract.
Follow Create a contract, Update a contract, or Review contracts.
Create a contract
-
List the folder's contents. Identify applicable instructions and useful navigation for its tasks.
-
Decide whether the folder needs a contract, using the definition's criteria.
-
If a contract is needed:
- Write the contract: title, purpose, instructions, skills, and contents.
- Add the folder to the parent contract's Contents.
- Confirm that every link in both contracts resolves and check skill references.
Update a contract
-
Compare the contract with the folder, checking that:
- Every listed path exists.
- Applicable instructions and relevant resources are discoverable through the listed paths.
- The purpose and instructions still hold.
- Skill names, paths, and invocation conditions pass Skill reference checks.
-
Correct each difference. Record operator preferences alongside the instructions they relate to.
-
If the folder was added, moved, renamed, or removed, update the parent contract's Contents.
-
Confirm that every link resolves.
Review contracts
- Find every
AGENTS.mdin the folder tree the operator names. Skip subfolders that have their own.aiOS/config.yaml. - Compare each contract with its folder, as Update a contract step 1 describes. Also note folders that need a contract but have none.
- Propose a fix for each difference. Apply the fixes the operator confirms.
Skill reference checks
These checks apply to all three workflows.
- Inspect skill instructions, Skills entries, and navigation in the contract and its applicable ancestors.
- Compare names, paths, and invocation conditions with each maintained skill's
SKILL.md. Report a missing package or unknown replacement. - Check whether inherited instructions already cover the folder's use. Identify missing or incorrect entries without duplicating inherited guidance.
- Keep contract corrections in this workflow. Use
aios-core:manage-skillsonly for needed package changes within the task's scope. During reviews, record differences before applying approved fixes.
The stop hook checks every changed contract when the turn ends.
Report
- Lead with what the contracts now support or the most important review finding and its effect.
- Explain significant instruction, navigation, or skill-reference changes, with useful links.
- State unresolved conflicts or decisions and the next action needed.
- If no changes are needed, state what you checked and why.
04 同仓库更多 Skills
visualize
Explains a concept, system, or process with a diagram or other visual.
unslop
Removes AI writing patterns and improves prose clarity.
explain
Explains a concept for a stated audience, using concrete examples.
clarify
Rewrites prose so it is clear, concise, and plain. Applies the writing standard.
research-to-video
Turns research findings into a short explainer video.
refine
Improves a design against stated quality criteria and the design standard.