Skip to content
Agentmart
Submit a tool

coding_agent

Run Claude Code (preferred), Codex CLI, OpenCode, or Pi Coding Agent via background process for programmatic control.

Skill by moshehbenavraham

IndexedMIT★ 2
Write a review

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/moshehbenavraham-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.

We use your email only for this newsletter. Privacy

About

Run Claude Code (preferred), Codex CLI, OpenCode, or Pi Coding Agent via background process for programmatic control.

Use cases: agent-building

No 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 Claude Code (preferred), Codex CLI, OpenCode, or Pi Coding Agent via background process for programmatic control.
License
MIT
Instructions
293 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "coding_agent" does not match folder "coding-agent"

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.

## 🎯 Preferred Tool: Claude Code

**Always use Claude Code (`claude`) as the primary coding agent** unless the user specifically requests a different tool. Claude Code is the default because:
- It's already authenticated and configured
- No git repo requirement (unlike Codex)
- Best integration with this system

## ⚠️ 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, use Claude Code:

```bash
# Quick task with Claude Code (preferred!) - with PTY!
bash pty:true workdir:~/Projects/myproject command:"claude 'Add error handling to the API calls'"

# Background mode for longer tasks
bash pty:true workdir:~/project background:true command:"claude 'Build a dark mode toggle'"
```

**Note:** If using Codex instead, it requires a git repository (use `git init` 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 😅).

---

## Claude Code (Default)

Claude Code is the **preferred** coding agent. Use it unless user requests otherwise.

```bash
# One-shot task (with PTY!)
bash pty:true workdir:~/project command:"claude 'Your task'"

# Background for longer work
bash pty:true workdir:~/project background:true command:"claude 'Refactor the auth module'"

# Print mode (non-interactive, just outputs plan)
bash pty:true workdir:~/project command:"claude -p 'Explain how the routing works'"
```

**Flags:**
| Flag | Effect |
|------|--------|
| `-p, --print` | Print response without interactive mode |
| `--dangerously-skip-permissions` | Skip all permission prompts (use carefully) |
| `--allowedTools` | Restrict which tools Claude can use |

---

From moshehbenavraham/crocbot, MIT.

Signals

Stars
2
Forks
0
Open issues
1
Last commit (this folder)
Feb 17, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from moshehbenavraham

Cite this page

coding_agent skill. Agent Mart. https://agentmart.dev/skills/moshehbenavraham-coding-agent (last updated 2026-10-24)