Local Coding Agents logo

Local Coding Agents

OrganizationPopular
fastclaw-ai
local-coding-agents

Hand a task to the Codex CLI or Claude Code CLI installed on this machine and relay the result. Use when the user says to have / ask / tell "codex", "claude code", "cc" or a coding agent do something — draw or generate an image, write or fix code, explain a repo, answer a question. These are command-line programs on the host, not FastClaw agents, so never use message_agent for them.

Overview

Publisherfastclaw-ai
Repositoryfastclaw
Skill namelocal-coding-agents
Stars
1.4K
Forks
227
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by fastclaw-ai on GitHub. Read the source before you install it.

Installation

Install the Local Coding Agents AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fastclaw-ai/fastclaw/tree/dev/internal/agent/bundled_skills/local-coding-agents
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fastclaw-ai/fastclaw.git /tmp/fastclaw
mkdir -p .claude/skills
cp -r /tmp/fastclaw/internal/agent/bundled_skills/local-coding-agents .claude/skills/local-coding-agents
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Local Coding Agents in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Local Coding Agents on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Local Coding Agents is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Local coding agents (Codex / Claude Code)

codex and claude are agent CLIs on the host. Treat a request to them like passing a message to a colleague: send it, wait, relay the answer. Handing off one task is a single step — don't announce a plan, just run it.

Host execution only works when the agent owner is talking to you. If exec says host execution is restricted, or the CLI is missing / not logged in, say so plainly instead of retrying variations.

Use the CLI the user named; if they didn't name one, use codex. Always call it as command codex / command claude (bypasses shell aliases that add unsafe flags).

Default: one call, then reply

For anything that isn't a change to an existing repository — images, questions, explanations, small standalone scripts — run the CLI once in your Working Directory (shown in Runtime info) with a foreground exec and timeout: 600. Pass the user's request through faithfully; add only context the CLI can't know.

Codex

bash
cd "<Working Directory>" && command codex exec -s workspace-write --skip-git-repo-check \
  --json -o .codex-last.md "<request>" > .codex-events.jsonl 2> .codex-stderr.log
echo "exit=$?"; cat .codex-last.md
grep -m1 '"thread.started"' .codex-events.jsonl
  • Codex can generate images itself. They are saved under ${CODEX_HOME:-$HOME/.codex}/generated_images/<thread_id>/, where thread_id comes from the thread.started event above. Copy them into your Working Directory with a meaningful name and show them in your reply:

    bash
    cp "${CODEX_HOME:-$HOME/.codex}/generated_images/<thread_id>/"*.png ./cat.png

    then reply with ![cat](cat.png). Any other file Codex wrote in the Working Directory (an SVG, a script) is delivered the same way, by relative path.

  • If the exit code is non-zero, show the user the last lines of .codex-stderr.log.

Claude Code

bash
cd "<Working Directory>" && command claude -p "<request>" \
  --permission-mode acceptEdits --output-format json > .claude-result.json 2> .claude-stderr.log
echo "exit=$?"; cat .claude-result.json
  • The reply is in result. If is_error is true, result holds the reason (e.g. "Credit balance is too low", not logged in) — tell the user as-is.
  • Claude Code cannot generate raster images; for a picture it can write an SVG/HTML file, which you deliver by relative path.

Then answer the user in your own words, say which CLI did the work, and include any images/files. Keep the reply short.

Follow-ups in the same thread ("make the cat orange"): resume instead of starting over — command codex exec resume <thread_id> "<follow-up>" (same flags), or command claude -p "<follow-up>" --resume <session_id> using session_id from .claude-result.json.

Changing code in a repository

Only when the user wants an existing repo modified. Ask which repo if unclear.

  1. Isolate the work so the user's checkout is untouched:

    bash
    REPO=/path/to/repo; TASK=fc-$(date +%Y%m%d-%H%M%S)
    WT="$REPO/../.fc-worktrees/$TASK"
    git -C "$REPO" worktree add -b "$TASK" "$WT" HEAD
  2. Run the CLI inside $WT with a self-contained brief (goal, constraints, "run the tests; do not commit"). Repo changes can take many minutes, so use run_in_background: true and check with bash_output until it exits.

    • Codex: same command as above with cd "$WT". Network is off in workspace-write; add -c sandbox_workspace_write.network_access=true only if it must install dependencies.
    • Claude Code: add --allowedTools "Bash" so it can run builds and tests.
  3. Verify yourself: git -C "$WT" status --short && git -C "$WT" diff --stat, and run the tests if it claims they pass. If it's wrong, resume the same session with concrete feedback (at most two rounds).

  4. Deliver: commit, push the branch and open a PR (gh pr create --fill) if the user wants one; otherwise summarise the diff and name the branch. Send the PR link with a 2–4 line summary.

Never use --dangerously-bypass-approvals-and-sandbox (Codex) or bypassPermissions (Claude Code). For read-only questions about a repo, run in the repo with -s read-only (Codex) or --permission-mode plan (Claude Code) — no worktree needed.

Frequently asked questions

What does the Local Coding Agents AI skill do?

Hand a task to the Codex CLI or Claude Code CLI installed on this machine and relay the result. Use when the user says to have / ask / tell "codex", "claude code", "cc" or a coding agent do something — draw or generate an image, write or fix code, explain a repo, answer a question. These are command-line programs on the host, not FastClaw agents, so never use message_agent for them.

Why use Local Coding Agents on TypingMind?

Because you install it once and use it with any model. Local Coding Agents is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Local Coding Agents in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fastclaw-ai/fastclaw/tree/dev/internal/agent/bundled_skills/local-coding-agents. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Local Coding Agents?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Local Coding Agents?

As many as you like. As long as a model supports skills, you can use Local Coding Agents with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Local Coding Agents AI skill free?

It is published on GitHub by fastclaw-ai. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇