# clawd-code-python-port

A Python port of an agent harness with tools, commands, task orchestration, and a CLI. Use it to inspect or extend the workspace.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 757 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/clawd-code-python-port/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/clawd-code-python-port

## What it does

This skill covers a Python rewrite of an agent harness built for learning. The project models tool dispatch, higher-level commands, task context, and workspace metadata. Its layout includes the CLI entry point at `src/main.py`, data classes in `src/models.py`, tool and command registries, and task primitives in `src/task.py`.

Run the interface with `python3 -m src.main <subcommand>`. It can print a porting summary or manifest, list subsystems, commands, and tools, run `parity-audit`, and execute the unittest suite. Manifest, summary, and CLI commands need no API key. A live model query extension requires `ANTHROPIC_API_KEY` or `OPENAI_API_KEY`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill clawd-code-python-port -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/clawd-code-python-port/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/clawd-code-python-port/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill clawd-code-python-port -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/clawd-code-python-port/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill clawd-code-python-port -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/clawd-code-python-port/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills clawd-code-python-port
```

2. **Manually: put the files in place**
- File: `.github/skills/clawd-code-python-port/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill clawd-code-python-port -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/clawd-code-python-port
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/clawd-code-python-port/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill clawd-code-python-port -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/clawd-code-python-port/SKILL.md

## When to use it
- inspect an agent harness written in Python
- print the current workspace manifest
- list mirrored tools and commands
- run a parity audit against the local archive
- register an additional tool

## Example prompts
- Show me how to run `clawd-code` and inspect its CLI commands.
- Print the Python workspace manifest with `python3 -m src.main manifest`.
- Add a tool in `src/tools.py` and register it in the tool registry.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 186 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
