aios-project-system
AIOS Project System
Overview
Use this skill as the repository map for aios. It explains where state lives, how automation actually runs, and which files are authoritative before you edit tasks, workflows, or browser operations.
Core Topology
CLAUDE.md: project-level behavior contract and architecture overview.memory/skills/*.json: operational playbooks for recurring tasks (not deterministic executors).memory/specs/*.json: safety constraints and limits.tasks/{pending,done,failed}: task queue and outcomes.scripts/run-browser-use-mcp.sh: default browser MCP launcher (bridges toai-browser-book/mcp-browser-use).mcp-server/: legacy Playwright MCP implementation retained for compatibility workflows.docs/plans/: design, implementation, and postmortem documents.
Runtime Truths (Do Not Skip)
- MCP server label may still be
puppeteer-stealth, but default runtime now routes to browser-use tools (chrome.launch_cdp,browser.connect_cdp,page.*) viascripts/run-browser-use-mcp.sh. mcp-server/src/index.tsstill exposes Playwrightbrowser_*tools, but treat that path as legacy/compatibility.- If both
puppeteer-stealthandchrome-devtoolsare available, usepuppeteer-stealthfor normal browser automation and reservechrome-devtoolsfor debugging only. - For interactive runs, explicitly prefer
chrome.launch_cdp { port: 9222, user_data_dir: '~/.chrome-cdp-profile' }, thenbrowser.connect_cdp. memory/skills/*.jsoncan drift from site UI; treat them as runbooks that require live verification.- Prefer
page.extract_text/page.get_htmlevidence before usingpage.screenshot. - Repo-local discoverable skills must live in
.codex/skills/or.claude/skills/; do not create ad-hoc skill roots such as.baoyu-skills/*/SKILL.md..baoyu-skills/is extension-config territory, not a Codex/Claude skill root. - Keep safety constraints aligned with
memory/specsandmemory/skills/技能使用约束.json.
Superpowers Route Bridge
When requests are substantial, chain process skills and harness controls in this order:
- Choose process:
superpowers:brainstorming/superpowers:writing-plans/superpowers:systematic-debugging. - Produce plan artifact in
docs/plans/YYYY-MM-DD-<topic>.md. - Apply
aios-long-running-harnesspreflight, evidence gates, and retry policy. - Persist run state via ContextDB checkpoints.
- If work splits into independent domains, use
superpowers:dispatching-parallel-agents; if domains are coupled, stay sequential. - End only with
superpowers:verification-before-completion.
Default Operating Order
- Read task context and matching
memory/skills+memory/specsfiles. - Confirm available MCP tools, CDP session strategy, and selector strategy.
- Execute with evidence checkpoints (
page.extract_text/page.get_htmllogs per key step;page.screenshotonly for visual fallback). - Write outcome to docs/history and patch skills if drift is found.
Resources
references/system-map.md: concise architecture and data flow map.references/file-index.md: fast file lookup by change intent.
More from rexleimo/rex-cli
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
3contextdb-autopilot
Use when running tasks in Codex CLI, Claude Code, Gemini CLI, or opencode and you need automatic context persistence (init/session/event/checkpoint/context-pack) plus interactive auto-routing without manual contextdb commands.
3seed2-manga-drama
当用户要把单图或创意脚本做成AI漫剧短视频时使用。提供Seed2.0风格的四阶段流程:分镜脚本、主角设定、分镜生成、视频验收,并输出可直接投喂生成模型的结构化提示词。
3debug
Evidence-first runtime debugging for application bugs, regressions, flaky behavior, and unclear failures. Use when an agent is asked to debug an issue and should avoid speculative fixes by forming hypotheses, attaching to or starting a logging session, instrumenting code, collecting runtime logs, analyzing the recorded log file, applying only proven fixes, and verifying the result before removing instrumentation, especially for browser or frontend issues where logs should go directly to the active collector endpoint instead of app-local proxy APIs.
2find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
2xhs-ops-methods
当用户要学习或执行小红书运营方法时使用。提供可复用的“定方向-定人设-写排发互-复盘增长”流程,支持多账号协作,并强调人工审核与合规发布。
2