Coding Agent logo

Coding Agent

Community
ahmadrosid
coding-agent

Invoke a dedicated coding agent (Codex, Claude Code, OpenCode, pi, or Cursor Agent) for bug fixes, feature implementation, file edits, repository changes, or targeted validation when the user wants changes made in the current project. Nakama handles ordinary explanation, brainstorming, and non-editing chat; use this skill when repo work is better done by a coding agent.

Overview

Publisherahmadrosid
Repositorynakama
Skill namecoding-agent
Stars
492
Forks
91
Bundled files
Instructions only
LicenseMIT
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 ahmadrosid on GitHub. Read the source before you install it.

Installation

Install the Coding Agent 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/ahmadrosid/nakama/tree/main/packages/core/src/skills/bundled/coding-agent
  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/ahmadrosid/nakama.git /tmp/nakama
mkdir -p .claude/skills
cp -r /tmp/nakama/packages/core/src/skills/bundled/coding-agent .claude/skills/coding-agent
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Coding Agent 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 Coding Agent 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 Coding Agent 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.

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.

Frequently asked questions

What does the Coding Agent AI skill do?

Invoke a dedicated coding agent (Codex, Claude Code, OpenCode, pi, or Cursor Agent) for bug fixes, feature implementation, file edits, repository changes, or targeted validation when the user wants changes made in the current project. Nakama handles ordinary explanation, brainstorming, and non-editing chat; use this skill when repo work is better done by a coding agent.

Why use Coding Agent on TypingMind?

Because you install it once and use it with any model. Coding Agent 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 Coding Agent in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ahmadrosid/nakama/tree/main/packages/core/src/skills/bundled/coding-agent. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Coding Agent?

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 Coding Agent?

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

Is the Coding Agent AI skill free?

Yes. It is published on GitHub by ahmadrosid under the MIT license. 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 👇