init-codex-config
Scaffold or migrate a project to use agent-harness from Codex.
Skill by jajupmochi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jajupmochi-init-codex-config
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/init-codex-config
What's inside
- Skill name
init-codex-config- Description
- Scaffold or migrate a project to use agent-harness from Codex. Use when applying agent-harness in Codex, converting Claude Code setup to AGENTS.md/.codex/.agents, or making a project ready for Codex skills and hooks without changing the original Claude setup.
- License
- MIT
- Instructions
- 86 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# init-codex-config Apply `agent-harness` to a project for Codex. This is the Codex counterpart to `setup/init-agent-config/SKILL.md`; read that source skill before adapting a project, then translate only the selected pieces into Codex surfaces. ## Preflight 1. Locate this repository. Prefer the current plugin root; otherwise check `~/.claude/agent-harness`. 2. Read: - `../../docs/CODEX_ADAPTATION_PLAN.md` - `../../INVENTORY.md` - `../../rules/README.md` - `../../setup/init-agent-config/SKILL.md` 3. Inspect the target project for existing `AGENTS.md`, `.codex/`, `.agents/skills`, `.claude/`, `CLAUDE.md`, package manifests, and Git status. 4. Do not edit `.claude/` or `CLAUDE.md` unless the user explicitly asks for Claude Code changes too. ## Decide the Codex surfaces - Durable project guidance goes in `AGENTS.md`, not `CLAUDE.md`. - Codex project hooks go in `.codex/hooks.json`. - Repo-scoped Codex skills go in `.agents/skills/<skill-name>/SKILL.md`. - User-wide Codex skills go in `~/.agents/skills`. - Reusable distribution goes through `.codex-plugin/plugin.json` and a marketplace entry. - MCP or app integrations belong in Codex MCP/app config, not in AGENTS.md. ## Questions If the user has not already provided answers, gather these decisions. In plan mode, use the available user-input tool. Outside plan mode, ask only the questions that affect file writes. 1. Project type: Python research, static site, frontend app, or custom. 2. Language policy: English, Chinese, bilingual, or leave unchanged. 3. Context tags: `always`, `research-pkg`, `ui-project`, `static-site`, `ml-research`, `web-perf`, `image-or-video-work`, `docs-site`, `electron-or-desktop`. 4. Which personal rules to include: output brevity, tool proactivity, no reread, writing style, human-readable output, autorun mode. 5. Skill scope: repo `.agents/skills` or user `~/.agents/skills`. 6. Hook scope: project `.codex/hooks.json`, user `~/.codex/hooks.json`, or no hooks. The tested local activation uses user hooks; do not also declare plugin hooks or the same command can run twice. When the user says `autorun`, choose conservative defaults and continue unless a file overwrite, dependency install, network call, or destructive operation needs approval. ## Compose for Codex 1. Preserve any existing `AGENTS.md`; merge additively or create `AGENTS.md.bak.<date>` before replacing. 2. Generate `AGENTS.md` with concise instructions. Do not paste the full rule library. Include references to selected source rule files, for example: `Rules source: ~/.claude/agent-harness/rules/phased-planning/RULE.md`. 3. If project hooks are selected, create `.codex/hooks.json` from this repository's root `hooks.json`, then rewrite every command to a stable absolute or git-root-based path. The root file is a source template, not an automatically discovered plugin hook. 4. If repo skills are selected, copy the relevant top-level Codex wrapper skill directories from this repository into `.agents/skills/`. 5. If a template is selected, use the corresponding template directory as a source, but translate Claude-specific files: - `CLAUDE.template.md` -> summarized `AGENTS.md` - `.claude/settings.template.json` -> `.codex/hooks.json` - `.claude/skills` -> `.agents/skills` 6. Add a short README note only when the project already has a README and the user wants provenance recorded. ## Verification Run checks proportional to the files written: - `jq empty` on every JSON file created or changed. - `python3 -c 'import tomllib; ...'` for TOML files if present. - `rg -n "CLAUDE|\\.claude" AGENTS.md .codex .agents` to ensure Codex files do not accidentally claim to be Claude configuration, except in provenance text. - `git status --short` to report changed files. Do not claim that hooks or skills are active in the current Codex task until they have been installed in a discovered location and a real lifecycle event or explicit invocation proves that task picked them up. Trusting a hook definition does not prove an already-running task rebuilt its lifecycle registry.
From jajupmochi/agent-harness, MIT.
More from jajupmochi/agent-harness
- 0.502score
agent-update-watcher
jajupmochi
Use to keep up with the fast-moving agent ecosystem (new/updated CLIs, plugins, skills) WITHOUT burning tokens on constant checks.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
figma-design-fetch
jajupmochi
Use when the user shares a figma.com URL, wants to implement/mock a UI from Figma, or do design-to-code — connect the Figma MCP, fetch the design…
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
claude-desktop-sessions
jajupmochi
Use when Claude Code sessions started in the terminal CLI don't appear in the Claude Desktop app's Code tab, when you want to hand a running CLI session to…
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
doc-writing
jajupmochi
Use when writing or updating any document a human will read — a design or architecture spec, a feature manual and its in-app guide, an audit / bugfix / test…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
long-running-tasks
jajupmochi
Manage long-running commands and multi-step work in Codex.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
init-agent-config
jajupmochi
Scaffold a new project with the relevant subset of agent-harness rules, hooks, skills, recommendations, and templates.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
agent-config-adapter
jajupmochi
Adapt an existing agent configuration or plugin to a new agent or model route.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
publish
jajupmochi
Tag a new version of agent-harness, push to GitHub, and create a GitHub release.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
autopilot
jajupmochi
Set up or manage the autopilot daily autonomous project-driver.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
figma-authoring-constraints
jajupmochi
Use when a designer asks how to structure a Figma file so it produces clean code, when a design keeps yielding pixel-snapshot output, or when…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
new-hook
jajupmochi
Scaffold a new hook under hooks/<kebab-name>/.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
end-of-turn-marker
jajupmochi
Every turn MUST end with a visible divider header followed by numbered summary items.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 18, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jajupmochi/agent-harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jajupmochi
- 0.502score
figma-design-fetch
jajupmochi
Use when the user shares a figma.com URL, wants to implement/mock a UI from Figma, or do design-to-code — connect the Figma MCP, fetch the design…
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
claude-desktop-sessions
jajupmochi
Use when Claude Code sessions started in the terminal CLI don't appear in the Claude Desktop app's Code tab, when you want to hand a running CLI session to…
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
doc-writing
jajupmochi
Use when writing or updating any document a human will read — a design or architecture spec, a feature manual and its in-app guide, an audit / bugfix / test…
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
agent-update-watcher
jajupmochi
Use to keep up with the fast-moving agent ecosystem (new/updated CLIs, plugins, skills) WITHOUT burning tokens on constant checks.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
figma-authoring-constraints
jajupmochi
Use when a designer asks how to structure a Figma file so it produces clean code, when a design keeps yielding pixel-snapshot output, or when…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
publish
jajupmochi
Tag a new version of agent-harness, push to GitHub, and create a GitHub release.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
init-codex-config skill. Agent Mart. https://agentmart.dev/skills/jajupmochi-init-codex-config (last updated 2026-10-24)