Using with AI Agents
AIOS is tool-agnostic. It works best when the agent is asked to read the minimum relevant context and execute one reusable skill or one task at a time.
Native Skills vs Portable Skills
Section titled “Native Skills vs Portable Skills”When you run aios, it asks if you want to install skills to native agent folders.
- Native folders place selected skills in agent-specific folders such as
.agents/skills,.qwen/skills,.opencode/skills, or.agent/skills. - Portable folders keep skills inside
.aios/skillsso any agent can read them as Markdown. - Both keeps portable copies and installs native copies for supported agents.
Use native delivery when your agent automatically discovers skills. Use portable delivery when you want the workflow kit to be self-contained.
A Good Agent Request
Section titled “A Good Agent Request”A strong request usually includes:
- the active file or task,
- the specific skill or template to use,
- the acceptance criteria,
- the files that are allowed to change,
- the validation command to run.
Avoid saying “build the whole feature” without a task file. That gives the agent too much room to invent missing requirements.
Prompting Examples For Codex
Section titled “Prompting Examples For Codex”1. Discovering Product Vision
Section titled “1. Discovering Product Vision”When the project is new and the idea is still rough:
Prompt: “Read
AGENTS.mdand.aios/prompts/00-discover-product.md. Interview me with a few focused questions, then filldocs/product/vision.md. Do not generate the PRD until I review the vision.”
2. Generating a Feature
Section titled “2. Generating a Feature”Assuming you ran aios create feature "Habit Reminders":
Prompt: “Read
AGENTS.mdand the PRD. Then read the feature stub indocs/product/features/. Please expand it using the feature template in.aios/templates/.”
3. Executing a Specific Skill
Section titled “3. Executing a Specific Skill”If you want to run a code review using the built-in skill:
Prompt: “Please read the skill instructions at
.aios/skills/code-review/SKILL.md. Execute this skill on the recent changes I made tosrc/components/Button.tsxand output the review indocs/reviews/.”
4. Implementing a Task
Section titled “4. Implementing a Task”Assuming you ran aios create task "Implement Login API":
Prompt: “Read
docs/tasks/003-implement-login-api.md. Create a short implementation plan first. Then implement the code exactly as described. Do not modify unrelated files.”
5. Asking For Validation
Section titled “5. Asking For Validation”After the agent makes changes:
Prompt: “Run the validation commands listed in the task. If something fails, debug the smallest relevant surface and update the review document with exact evidence.”
The Agent Instructions File
Section titled “The Agent Instructions File”Your workspace root contains an AGENTS.md file. A good coding agent will read this file when analyzing the workspace. It contains rules such as:
- Do not modify unrelated files.
- Do not introduce dependencies without approval.
- Do not store secrets in source code.
- Create a short implementation plan for non-trivial changes.
- Do not mark work done before acceptance criteria and validation are satisfied.
If your AI starts drifting, remind it:
“Please review
AGENTS.mdand strictly follow the operating principles.”
Context Routing Pattern
Section titled “Context Routing Pattern”Use this order for most requests:
AGENTS.mdfor agent behavior.docs/context/context-map.mdfor where project knowledge lives.- The active PRD, ADR, task, or review document.
- The relevant
.aios/skills,.aios/templates, or.aios/referencesfile. - Only then inspect source files that need to change.