coding-agent
Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.
Skill by NJX-njx
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/njx-njx-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
- 277 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 OpenSoul's own project folder!** Clone to temp folder or use git worktree. ```bash # Clone to temp for safe review REVIEW_DIR=$(mktemp -d)
From NJX-njx/opensoul, MIT.
More from NJX-njx/opensoul
- 0.511score
merge-pr
NJX-njx
Merge a GitHub PR via squash after /preparepr.
SkillDFreshness: D★ 59Claude Code +9 - 0.511score
slack
NJX-njx
Use when you need to control Slack from OpenSoul via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
SkillDFreshness: D★ 59Claude Code +9 - 0.511score
healthcheck
NJX-njx
Host security hardening and risk-tolerance configuration for OpenSoul deployments.
SkillDFreshness: D★ 59Claude Code +9 - 0.511score
review-pr
NJX-njx
Review-only GitHub pull request analysis with the gh CLI.
SkillDFreshness: D★ 59Claude Code +9 - 0.508score
prepare-pr
NJX-njx
Prepare a GitHub PR for merge by rebasing onto main, fixing review findings, running gates, committing fixes, and pushing to the PR head branch.
SkillDFreshness: D★ 59Claude Code +9 - 0.491score
1password
NJX-njx
Set up and use 1Password CLI (op).
SkillDFreshness: D★ 59Claude Code +9 - 0.486score
bluebubbles
NJX-njx
Use when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration).
SkillDFreshness: D★ 59Claude Code +9 - 0.486score
apple-notes
NJX-njx
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes).
SkillDFreshness: D★ 59Claude Code +9 - 0.483score
prose
NJX-njx
OpenProse VM skill pack.
SkillDFreshness: D★ 59Claude Code +9 - 0.483score
github
NJX-njx
Interact with GitHub using the `gh` CLI.
SkillDFreshness: D★ 59Claude Code +9 - 0.483score
apple-reminders
NJX-njx
Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete).
SkillDFreshness: D★ 59Claude Code +9 - 0.480score
blucli
NJX-njx
BluOS CLI (blu) for discovery, playback, grouping, and volume.
SkillDFreshness: D★ 59Claude Code +9
Signals
- Stars
- 59
- Forks
- 10
- Open issues
- 0
- Last commit (this folder)
- Feb 13, 2026 (8 months ago)
- Last release
- Mar 2, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/NJX-njx/opensoul
- Website
- opensoul-web.vercel.app/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from NJX-njx
- 0.511score
merge-pr
NJX-njx
Merge a GitHub PR via squash after /preparepr.
SkillDFreshness: D★ 59Claude Code +9 - 0.511score
healthcheck
NJX-njx
Host security hardening and risk-tolerance configuration for OpenSoul deployments.
SkillDFreshness: D★ 59Claude Code +9 - 0.511score
slack
NJX-njx
Use when you need to control Slack from OpenSoul via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
SkillDFreshness: D★ 59Claude Code +9 - 0.511score
review-pr
NJX-njx
Review-only GitHub pull request analysis with the gh CLI.
SkillDFreshness: D★ 59Claude Code +9 - 0.508score
prepare-pr
NJX-njx
Prepare a GitHub PR for merge by rebasing onto main, fixing review findings, running gates, committing fixes, and pushing to the PR head branch.
SkillDFreshness: D★ 59Claude Code +9 - 0.491score
1password
NJX-njx
Set up and use 1Password CLI (op).
SkillDFreshness: D★ 59Claude Code +9
Cite this page
coding-agent skill. Agent Mart. https://agentmart.dev/skills/njx-njx-coding-agent (last updated 2026-10-24)