coding-agent
Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.
Skill by openxcn
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/openxcn-coding-agent
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/coding-agent
What's inside
- Skill name
coding-agent- Description
- Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.
- License
- MIT
- Instructions
- 274 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Coding Agent (bash-first) Use **bash** (with optional background mode) for all coding agent work. Simple and effective. ## ⚠️ PTY Mode Required! Coding agents (Codex, Claude Code, Pi) are **interactive terminal applications** that need a pseudo-terminal (PTY) to work correctly. Without PTY, you'll get broken output, missing colors, or the agent may hang. **Always use `pty:true`** when running coding agents: ```bash # �?Correct - with PTY bash pty:true command:"codex exec 'Your prompt'" # �?Wrong - no PTY, agent may break bash command:"codex exec 'Your prompt'" ``` ### Bash Tool Parameters | Parameter | Type | Description | |-----------|------|-------------| | `command` | string | The shell command to run | | `pty` | boolean | **Use for coding agents!** Allocates a pseudo-terminal for interactive CLIs | | `workdir` | string | Working directory (agent sees only this folder's context) | | `background` | boolean | Run in background, returns sessionId for monitoring | | `timeout` | number | Timeout in seconds (kills process on expiry) | | `elevated` | boolean | Run on host instead of sandbox (if allowed) | ### Process Tool Actions (for background sessions) | Action | Description | |--------|-------------| | `list` | List all running/recent sessions | | `poll` | Check if session is still running | | `log` | Get session output (with optional offset/limit) | | `write` | Send raw data to stdin | | `submit` | Send data + newline (like typing and pressing Enter) | | `send-keys` | Send key tokens or hex bytes | | `paste` | Paste text (with optional bracketed mode) | | `kill` | Terminate the session | --- ## Quick Start: One-Shot Tasks For quick prompts/chats, create a temp git repo and run: ```bash # Quick chat (Codex needs a git repo!) SCRATCH=$(mktemp -d) && cd $SCRATCH && git init && codex exec "Your prompt here" # Or in a real project - with PTY! bash pty:true workdir:~/Projects/myproject command:"codex exec 'Add error handling to the API calls'" ``` **Why git init?** Codex refuses to run outside a trusted git directory. Creating a temp repo solves this for scratch work. --- ## The Pattern: workdir + background + pty For longer tasks, use background mode with PTY: ```bash # Start agent in target directory (with PTY!) bash pty:true workdir:~/project background:true command:"codex exec --full-auto 'Build a snake game'" # Returns sessionId for tracking # Monitor progress process action:log sessionId:XXX # Check if done process action:poll sessionId:XXX # Send input (if agent asks a question) process action:write sessionId:XXX data:"y" # Submit with Enter (like typing "yes" and pressing Enter) process action:submit sessionId:XXX data:"yes" # Kill if needed process action:kill sessionId:XXX ``` **Why workdir matters:** Agent wakes up in a focused directory, doesn't wander off reading unrelated files (like your soul.md 😅). --- ## Codex CLI **Model:** `gpt-5.2-codex` is the default (set in ~/.codex/config.toml) ### Flags | Flag | Effect | |------|--------| | `exec "prompt"` | One-shot execution, exits when done | | `--full-auto` | Sandboxed but auto-approves in workspace | | `--yolo` | NO sandbox, NO approvals (fastest, most dangerous) | ### Building/Creating ```bash # Quick one-shot (auto-approves) - remember PTY! bash pty:true workdir:~/project command:"codex exec --full-auto 'Build a dark mode toggle'" # Background for longer work bash pty:true workdir:~/project background:true command:"codex --yolo 'Refactor the auth module'" ``` ### Reviewing PRs **⚠️ CRITICAL: Never review PRs in openx's own project folder!** Clone to temp folder or use git worktree. ```bash # Clone to temp for safe review REVIEW_DIR=$(mktemp -d) git clone https://github.com/user/repo.git $REVIEW_DIR
From openxcn/openX, MIT.
More from openxcn/openX
- 0.412score
1password
openxcn
Set up and use 1Password CLI (op).
SkillDFreshness: D★ 1Claude Code +9 - 0.407score
apple-notes
openxcn
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes).
SkillDFreshness: D★ 1Claude Code +9 - 0.404score
github
openxcn
Interact with GitHub using the `gh` CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.404score
prose
openxcn
OpenProse VM skill pack.
SkillDFreshness: D★ 1Claude Code +9 - 0.404score
bluebubbles
openxcn
Build or update the BlueBubbles external channel plugin for openx (extension package, REST send/probe, webhook inbound).
SkillDFreshness: D★ 1Claude Code +9 - 0.240score
blogwatcher
openxcn
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.240score
gifgrep
openxcn
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
SkillDFreshness: D★ 1Claude Code +9 - 0.240score
blucli
openxcn
BluOS CLI (blu) for discovery, playback, grouping, and volume.
SkillDFreshness: D★ 1Claude Code +9 - 0.239score
camsnap
openxcn
Capture frames or clips from RTSP/ONVIF cameras.
SkillDFreshness: D★ 1Claude Code +9 - 0.239score
bear-notes
openxcn
Create, search, and manage Bear notes via grizzly CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.236score
gemini
openxcn
Gemini CLI for one-shot Q&A, summaries, and generation.
SkillDFreshness: D★ 1Claude Code +9 - 0.225score
eightctl
openxcn
No description from the publisher yet.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 21, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/openxcn/openX
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from openxcn
- 0.412score
1password
openxcn
Set up and use 1Password CLI (op).
SkillDFreshness: D★ 1Claude Code +9 - 0.407score
apple-notes
openxcn
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes).
SkillDFreshness: D★ 1Claude Code +9 - 0.404score
bluebubbles
openxcn
Build or update the BlueBubbles external channel plugin for openx (extension package, REST send/probe, webhook inbound).
SkillDFreshness: D★ 1Claude Code +9 - 0.404score
github
openxcn
Interact with GitHub using the `gh` CLI.
SkillDFreshness: D★ 1Claude Code +9 - 0.404score
prose
openxcn
OpenProse VM skill pack.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
coding-agent skill. Agent Mart. https://agentmart.dev/skills/openxcn-coding-agent (last updated 2026-10-24)