# Claude Cli Agent

> >

- **Type:** Skill
- **Install:** `agentstack add skill-iml1s-agent-cli-skills-claude-cli-agent`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ImL1s](https://agentstack.voostack.com/s/iml1s)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ImL1s](https://github.com/ImL1s)
- **Source:** https://github.com/ImL1s/agent-cli-skills/tree/main/skills/claude-cli-agent
- **Website:** https://iml1s.github.io/agent-cli-skills/

## Install

```sh
agentstack add skill-iml1s-agent-cli-skills-claude-cli-agent
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Claude Code CLI (`claude -p`) Executor

## When to use

- User wants **Claude Code** / `claude` as the coding agent
- Need **ultracode**, workflows, `--agents`, or worktree isolation from an orchestrator
- Read-only second opinions (`-r` plan mode)

For cross-CLI councils, pair with `multi-cli-spawn`.

## Wrapper

```bash
./claude-exec.sh -C /path/to/repo "Implement X; stop when done."
./claude-exec.sh -r -C /path/to/repo "Second opinion on this design"
./claude-exec.sh -T -C /path/to/repo "Large audit — use ultracode workflows"
./claude-exec.sh -e high -m sonnet -o json -f /tmp/bundle.txt
./claude-exec.sh -w task-branch --agents '{"reviewer":{"description":"Reviews","prompt":"You review code"}}' "…"
```

Flags: `-m` · `-t` · `-C` · `-o` text|json|stream-json · `-f` · `-r` (plan mode) ·
`-T/--ultracode` → `--effort ultracode` + multi-agent preamble · `-P` permission-mode ·
`-e` effort · `-w` worktree · `--agents` JSON · `--allowed-tools` · `--disallowed-tools` ·
`--add-dir` · `--system-prompt` · `--append-system-prompt` · `--mcp-config` ·
`--strict-mcp-config` · `--bare` · `--ask-permissions` · `--no-git` · `--` passthrough.

Default executor uses `--dangerously-skip-permissions`. Setting `-P` or `-r` clears that skip.
Prefer capturing **stdout** for reports. `-C` is absolutized before use.

## Native multi-agent / ultracode

| Mechanism | What it is | How to enable |
|-----------|------------|---------------|
| **Dynamic workflows** | JS orchestration script fans out many subagents | Ask for a workflow, or keyword `ultracode` |
| **ultracode** | Session policy: xhigh effort + auto-workflow for substantive tasks | `-T` / `--effort ultracode` / interactive `/effort ultracode` |
| **`--agents` JSON** | Custom agent definitions for the session | `--agents '{...}'` |
| **`claude agents`** | Manage background agents | Separate subcommand |
| **Agent teams** | Small peer set that renegotiates live | Product feature; see Claude Code docs |
| **`--worktree`** | Isolated git worktree for the session | `-w [name]` |

After a heavy ultracode session, drop back to normal effort for routine edits (token cost).

## Pitfalls

- `--bare` can break OAuth login for normal reviews — avoid unless you intend API-key-only
- Do not put multi-KB `$(cat brief)` immediately after `--allowedTools` (parser confusion)
- Plan mode cannot Write — if you need an answer file, allow Write or redirect stdout

## Discipline

Exit code untrusted. Orchestrator owns git. This skill is **not** the OMX `ask-claude` artifact helper.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ImL1s](https://github.com/ImL1s)
- **Source:** [ImL1s/agent-cli-skills](https://github.com/ImL1s/agent-cli-skills)
- **License:** MIT
- **Homepage:** https://iml1s.github.io/agent-cli-skills/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-iml1s-agent-cli-skills-claude-cli-agent
- Seller: https://agentstack.voostack.com/s/iml1s
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
