Coding Agentのロゴ

Coding Agent

コミュニティ
ahmadrosid
coding-agent

ユーザーが現在のプロジェクトに変更を加えることを希望している場合、バグ修正、機能実装、ファイル編集、リポジトリの変更、または対象を絞った検証のために、専用のコーディングエージェント(Codex、Claude Code、OpenCode、pi、Cursor Agent)を呼び出します。通常の説明、ブレインストーミング、編集を伴わないチャットはNakamaが担当します。リポジトリ作業にコーディングエージェントを使うほうが適切な場合に、このスキルを使います。

Add to TypingMind

概要

公開者ahmadrosid
リポジトリnakama
スキル名coding-agent
スター
492
フォーク
91
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ahmadrosid/nakama.git /tmp/nakama
mkdir -p .claude/skills
cp -r /tmp/nakama/packages/core/src/skills/bundled/coding-agent .claude/skills/coding-agent
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Use this skill when the user wants real code work done in the current project: implementing features, fixing bugs, editing files, running targeted validation, or inspecting the repo to make a concrete change.

Keep ordinary conversation local:

  • Do not invoke the coding agent for simple explanation, brainstorming, status updates, or product discussion unless code changes are actually needed.
  • Do not invoke the coding agent just because the topic is technical.
  • If the user only wants advice or an explanation, answer directly.

Prerequisites

  • This profile must have the bash tool assigned.
  • A coding agent CLI must be installed on the Nakama server host (Codex, Claude Code, OpenCode, pi, or Cursor Agent).

Install with bash when missing for npm-based CLIs (global installs affect the whole host — confirm with the operator on shared servers):

bash
npm install -g @openai/codex
npm install -g @anthropic-ai/claude-code
npm install -g opencode-ai
npm install -g @earendil-works/pi-coding-agent

(or the equivalent bun install -g --trust … if npm is unavailable)

Cursor Agent (agent) cannot be auto-installed by Nakama. If it is missing, tell the user to install and authenticate Cursor Agent CLI on the host themselves, then verify with agent --version. Do not attempt npm install -g for Cursor.

If the injected Coding Agent Harness context lists install commands, follow those. After install, retry the coding task.

Choosing a backend

  1. Read the injected Coding Agent Harness context.
  2. If it says multiple CLIs are installed, ask the user which one to use before running. Do not pick silently. Remember their choice for this conversation only.
  3. If exactly one CLI is available (or the context includes a single command template), use that backend.
  4. If none are installed, install via bash for Codex/Claude/OpenCode/pi when appropriate, or tell the user to install Cursor Agent themselves when that is the desired backend.

Coding agent workflow

When repo work should run on a coding agent, use the bash tool to run the CLI:

  1. Follow the injected harness context / command template for the chosen backend when present.
  2. Summarize the coding task in one concrete instruction block.
  3. Include only the context the coding agent needs: target behavior, affected files or areas when known, constraints, and what should be verified.
  4. Build the shell command from the template (or backend guidance), substituting your task prompt. Escape quotes carefully or use a heredoc when the prompt is multi-line.
  5. Call bash with codingAgent: true and a command that starts with the harness binary (codex, claude, opencode, pi, or agent) so Nakama can recognize the harness. For Codex/Claude/OpenCode/pi, Nakama may merge provider passthrough spawn env. For Cursor Agent, spawn env stays empty — host Cursor auth is used instead. Use an explicit timeoutMs suited to the task — use 600000–1800000 ms (10–30 minutes) for substantial coding runs; keep shorter timeouts for quick checks.
  6. Prefer precise change requests over broad open-ended prompts.
  7. If the user names a preferred backend, use that CLI.
  8. For Cursor Agent: ensure the target repo exists in the profile workspace (clone if missing), set bash cwd to that repo, run agent -p '<task>' --output-format text --yolo with codingAgent true (argv0 must be agent, not cd && agent). Prefer text; stream-json is summarized automatically with a full log under artifacts/coding-agent-runs/. See backend guidance.

After the coding agent returns:

  • Summarize what changed in plain language using stdout/stderr from the bash result.
  • Mention what was verified.
  • Call out any remaining risks, gaps, or follow-up work.
  • For implementation runs (feature / fix / repo change), the coding brief should require branch + commit + push + gh pr create by default (see backend guidance, especially Cursor), unless the user explicitly asked for local-only work (exploration, draft, "just look", "don't push"). Confirm the PR URL before treating the task as done.
  • If the coding agent run failed (non-zero exit, timeout, or empty useful output), explain the failure clearly and decide whether to retry, adjust the prompt, or ask the user.

よくある質問

AIスキル「Coding Agent」では何ができますか?

ユーザーが現在のプロジェクトに変更を加えることを希望している場合、バグ修正、機能実装、ファイル編集、リポジトリの変更、または対象を絞った検証のために、専用のコーディングエージェント(Codex、Claude Code、OpenCode、pi、Cursor Agent)を呼び出します。通常の説明、ブレインストーミング、編集を伴わないチャットはNakamaが担当します。リポジトリ作業にコーディングエージェントを使うほうが適切な場合に、このスキルを使います。

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

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

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

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

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

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

Coding Agentで使えるAIモデルの数に制限はありますか?

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

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

はい。ahmadrosidがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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