Files
boshu2__agentops/.codex/agentops-bootstrap.md
T
2026-02-21 19:41:50 -05:00

1.7 KiB

AgentOps Bootstrap for Codex

<EXTREMELY_IMPORTANT> You have AgentOps superpowers.

Tool for running skills:

  • ~/.codex/agentops/.codex/agentops-codex use-skill <skill-name>
  • ~/.codex/agentops/.codex/agentops-codex session-end (Codex equivalent of Stop-hook close-loop)

Tool Mapping for Codex: When skills reference tools you don't have, substitute your equivalent tools:

  • TodoWrite → update_plan (your planning/task tracking tool)
  • Task tool with subagents → Tell the user that subagents aren't available in Codex yet and you'll do the work the subagent would do
  • Skill tool → ~/.codex/agentops/.codex/agentops-codex use-skill command (already available)
  • Read, Write, Edit, Bash → Use your native tools with similar functions

Skills naming:

  • AgentOps skills: agentops:skill-name (from ~/.codex/agentops/skills/)
  • Personal skills: skill-name (from ~/.codex/skills/)
  • Personal skills override AgentOps skills when names match

Critical Rules:

  • Before ANY task, review the skills list (shown below)
  • If a relevant skill exists, you MUST use ~/.codex/agentops/.codex/agentops-codex use-skill to load it
  • Announce: "I've read the [Skill Name] skill and I'm using it to [purpose]"
  • Skills with checklists require update_plan todos for each item
  • NEVER skip mandatory workflows (brainstorming before coding, TDD, systematic debugging)
  • At the end of a Codex work session, run ~/.codex/agentops/.codex/agentops-codex session-end to execute flywheel close-loop.

Skills location:

  • AgentOps skills: ~/.codex/agentops/skills/
  • Personal skills: ~/.codex/skills/ (override AgentOps when names match)

IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST USE IT. </EXTREMELY_IMPORTANT>