Local Coding Agentsのロゴ

Local Coding Agents

組織人気
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.

概要

公開者fastclaw-ai
リポジトリfastclaw
スキル名local-coding-agents
スター
1.4K
フォーク
227
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    fastclaw-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルLocal Coding AgentsをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/fastclaw-ai/fastclaw/tree/dev/internal/agent/bundled_skills/local-coding-agents
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでLocal Coding Agentsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にLocal Coding Agentsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Local Coding Agentsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

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.

TypingMindでLocal Coding Agentsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Local Coding Agentsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにLocal Coding Agentsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/fastclaw-ai/fastclaw/tree/dev/internal/agent/bundled_skills/local-coding-agentsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Local Coding Agentsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Local Coding Agentsは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもLocal Coding Agentsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Local Coding Agents」は無料ですか?

fastclaw-aiがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇