appautomaton/latex-arxiv-SKILL / .codex/skills/collaborating-with-claude
collaborating-with-claude
VerifiedUse the Claude Code CLI to consult Claude and delegate coding tasks for prototyping, debugging, and code review. Supports multi-turn sessions via SESSION_ID. Optimized for low-token, file/line-based handoff.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.0 KB |
| assets/prompt-template.md | markdown | 1.1 KB |
| references/shell-quoting.md | markdown | 1.2 KB |
| scripts/claude_bridge.py | script | 11.8 KB |
references/shell-quoting.md
View on GitHub# Shell quoting for `--PROMPT`
When invoking `claude_bridge.py`, be careful: your *shell* parses the command line before Python runs.
## The pitfall: Markdown backticks
Markdown inline code uses backticks (`` `like/this` ``). In bash/zsh, backticks mean **command substitution**, even inside double quotes, so this breaks:
```bash
python3 .codex/skills/collaborating-with-claude/scripts/claude_bridge.py \
--cd "." \
--PROMPT "Analyze `tmp/eth_dev_news_raw.json` and summarize."
```
Typical symptoms (from the shell, before Claude runs):
- `zsh: permission denied: tmp/eth_dev_news_raw.json`
- `zsh: command not found: as_of`
## Recommended: heredoc (no expansion)
Build the prompt via a *single-quoted heredoc delimiter* (`<<'EOF'`) so backticks (and `$VARS`, `$(...)`, etc.) are not expanded by the shell:
```bash
PROMPT="$(cat <<'EOF'
Analyze `tmp/eth_dev_news_raw.json` and summarize.
Set `as_of` to `YYYY-MM-DD`.
EOF
)"
python3 .codex/skills/collaborating-with-claude/scripts/claude_bridge.py \
--cd "." \
--PROMPT "$PROMPT" \
--output-format stream-json
```
## Alternatives
- Escape backticks manually: use `\`` (easy to miss in long prompts).
- Avoid backticks entirely: write `Analyze the file tmp/eth_dev_news_raw.json` instead.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |