build

build is a command for Claude Code from JannLeo/telinksdk-builder-mcp. It costs 31 tokens per session (703 once invoked), scanned A, original, MIT.

A command for compiling an SDK repository with a configured build runner. The repository must contain a builder.json or robin_builder.json file.

In plain words
What is it for?
Viewing build settings, listing build outputs, running a named preset or custom build, testing a build without running it, and reviewing success or failure details.
Why use it?
It keeps build commands and project settings in one runner instead of requiring developers to assemble them manually. It also reports build results and collected files.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the telinksdk-builder plugin — 6 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/jannleo/telinksdk-builder-mcp/build
Clone the repo
git clone --depth 1 https://github.com/JannLeo/telinksdk-builder-mcp

Made for: Claude Code.

Or install telinksdk-builder, the plugin that ships this one along with the rest of its 6 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build

README.md
[![agentmods](https://agentmods.dev/badge/commands/jannleo/telinksdk-builder-mcp/build.svg)](https://agentmods.dev/commands/jannleo/telinksdk-builder-mcp/build)
Your own site
<a href="https://agentmods.dev/commands/jannleo/telinksdk-builder-mcp/build"><img src="https://agentmods.dev/badge/commands/jannleo/telinksdk-builder-mcp/build.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00703
Opus 5 $0.00015 $0.00351
Sonnet 5 $0.00006 $0.00141
Haiku 4.5 $0.00003 $0.00070

Measured 5d ago against content hash 6a897446ca7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/build.md · 42 lines

What it actually says

使用通用构建运行器处理当前工作区 ${workspaceFolder} 的 SDK 仓库(其根目录需含 builder.json 或 robin_builder.json)。

调用 ${COCO_PLUGIN_ROOT}/trae_build_runner.py 完成实际编译,不要自己拼命令。根据用户参数 $ARGUMENTS 选择子命令:

  • 若参数为空或以 info 开头:执行 info 子命令,展示该仓库的构建配置(参数、预设、产物配置)。
  • 若参数以 list 开头:执行 list 子命令,列出已收集的构建产物。
  • 若参数以 build 开头:把 $ARGUMENTSbuild 之后的剩余内容原样作为子命令参数传给 runner(支持 --preset <名称>--param 键=值--timeout 秒数--dry-run)。
  • 若参数以非上述关键字开头(如 rx_default):视为预设名,执行 build --preset <第一个参数>,其后的参数继续透传。

runner 路径固定为:${COCO_PLUGIN_ROOT}/trae_build_runner.py 项目路径用 --project "${workspaceFolder}"

请按上述规则构造一条 python 命令并用 Bash 工具执行,然后把 runner 的 JSON 输出解析后向用户汇报:

  • 编译是否成功(status 字段)
  • 产物路径和大小(artifacts 数组)
  • 若 dry_run,展示将要执行的完整命令
  • 若失败,展示 exit_code 和日志路径

下面是 runner 用法速查(供你构造命令参考):

python "${COCO_PLUGIN_ROOT}/trae_build_runner.py" --project "<项目路径>" info
python "${COCO_PLUGIN_ROOT}/trae_build_runner.py" --project "<项目路径>" list
python "${COCO_PLUGIN_ROOT}/trae_build_runner.py" --project "<项目路径>" build --preset <名称> [--param 键=值 ...] [--timeout 秒] [--dry-run]

烧录与串口

用户说"烧录/flash/下载固件""复位""抓串口看效果"时,用 /flash/serial 命令(详见对应命令文档)。runner 也支持 flashserial 子命令:

python "${COCO_PLUGIN_ROOT}/trae_build_runner.py" --project "<项目路径>" flash --command wf [--chip ...] [--input ...] [--verify] [--retry 3] [--pre-check] [--dry-run]
python "${COCO_PLUGIN_ROOT}/trae_build_runner.py" --project "<项目路径>" serial capture --port COM3 --duration 5

注意:$ARGUMENTS 为用户在 /build 后输入的全部参数。请正确拆分出子命令与透传部分。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 42 lines · 31 tokens per session scan A 6a897446ca7d

Subscribe to this mod's changes

build is a command published in the GitHub repository JannLeo/telinksdk-builder-mcp (1 stars, last pushed 26d ago), licensed MIT. It adds 31 tokens to every session and 703 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.