Agent Reliability Skills

io.github.trustabl由 GitHub 账号 trustabl 发布v0.1.0-rc.2更新于 Nov 6, 2026

Generates a pre-coding reliability skill (SKILL.md) for your agent repo from Trustabl's rules.

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

为 agent 代码仓库生成针对该仓库的编码前可靠性技能(SKILL.md),通过识别仓库所用的 agent SDK 来定制内容。

可以做什么
  • 为仓库生成可靠性技能:读取依赖清单,识别所用的 agent SDK,并依据 Trustabl 针对这些 SDK 的规则生成 SKILL.md。
  • 可额外指定 SDK 类别或目标语言(python、typescript、go),在自动识别之外补充覆盖范围。
  • 将生成的技能写入仓库内指定的相对路径,例如 .claude/skills/trustabl-pre-coding/SKILL.md。
  • 返回简短摘要,说明覆盖的 SDK 与写入位置,并附上 SKILL.md 内容。
适用场景
适合在即将编写或重构仓库中的 agent 代码时使用,让编码 agent 在写代码过程中就遵循可靠性规则,而不是事后在扫描中才发现问题。适用于使用 Claude Agent SDK、OpenAI Agents SDK、Google ADK、MCP、LangChain、CrewAI、Pydantic AI、Vercel AI SDK 或 AutoGen 等 agent SDK 的项目。
运行要求
以 stdio 在本地运行,需要 Node.js 22 或更高版本。首次调用会从 GitHub 下载对应操作系统与架构的 Trustabl 分析器二进制文件,并获取 Trustabl 的规则仓库,之后使用缓存离线工作。可选设置:TRUSTABL_VERSION 固定分析器版本(需 v0.1.14 或更高)、GITHUB_TOKEN 避免 GitHub 匿名请求限制、TRUSTABL_BIN 使用本地分析器构建。除非客户端通过 MCP roots 报告工作区,否则必须提供仓库路径。
安装前请注意
提供 output_path 时该工具会向仓库写入文件;它拒绝仓库之外的路径,且只覆盖由它自己生成的文件。首次使用会从 GitHub 下载并执行第三方分析器二进制文件,并按发布版校验和进行校验。GITHUB_TOKEN 仅用于该下载。分析器自身的 TRUSTABL_TELEMETRY 设置对其运行的二进制生效,启用前请先确认。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agent Reliability Skills,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Agent Reliability Skills MCP server

Forge Claude Code skills generate more reliable agents.

Agent Reliability Skills is the MCP server for Trustabl Forge. It writes a pre-coding reliability skill for your repository: Forge reads the repository's dependency manifests (package.json, pyproject.toml, requirements.txt, go.mod and others), finds the agent SDKs it uses, and builds a SKILL.md from Trustabl's detection rules for exactly those SDKs. An agent that reads the skill applies the rules while it writes code, instead of meeting them later as findings in a scan.

The skill is generated per repository. It is not a fixed skill to install, and it changes as your dependencies and Trustabl's rules change.

Supported SDKs include the Claude Agent SDK, OpenAI Agents SDK, Google ADK, MCP, LangChain and LangGraph, CrewAI, Pydantic AI, the Vercel AI SDK and AutoGen.

Install

Requires Node.js 22 or later. Every install below downloads the release file from GitHub.

Claude Code

bash
claude mcp add agent-reliability-skills -- npx -y https://github.com/trustabl/agent-reliability-skills/releases/download/v0.1.0-rc.2/agent-reliability-skills-0.1.0-rc.2.tgz

Cursor

Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project:

json
{  "mcpServers": {    "agent-reliability-skills": {      "command": "npx",      "args": ["-y", "https://github.com/trustabl/agent-reliability-skills/releases/download/v0.1.0-rc.2/agent-reliability-skills-0.1.0-rc.2.tgz"]    }  }}

Claude Desktop

Open Settings → Developer → Edit Config and add the same mcpServers entry to claude_desktop_config.json, then restart Claude Desktop.

Claude Desktop has no project folder, so name the repository when you ask, for example: "Generate the Trustabl pre-coding skill for /Users/me/code/my-agent and write it to .claude/skills/trustabl-pre-coding/SKILL.md."

The trustabl_forge tool

InputRequiredMeaning
pathsee belowAbsolute path of the repository. A relative path is resolved against the client's workspace.
policynoSDK categories to add on top of the detected ones, for an SDK not yet in a manifest (for example openai_sdk).
langnoLanguages to add: python, typescript, go.
output_pathnoWrite the skill here, relative to the repository. Usually .claude/skills/trustabl-pre-coding/SKILL.md.

It returns a short summary (the SDKs covered, where the skill was written) and the SKILL.md content.

It writes a file only when output_path is given. The path must stay inside the repository, and an existing file is replaced only if Forge generated it, so regenerating a stale skill works but a hand-written file is never overwritten.

When path is needed

path is optional when your client reports its workspace through MCP roots, and required otherwise. Forge never guesses from the server's working directory, because some clients start servers from your home directory.

ClientReports its workspace
Claude Codepending
Cursorpending
Claude Desktoppending

Settings

VariableDefaultMeaning
TRUSTABL_VERSIONlatestAnalyzer release to run, for example v0.1.15. Must be v0.1.14 or later.
GITHUB_TOKENunsetUsed only to download the analyzer. Avoids GitHub's anonymous limit of 60 requests an hour.
TRUSTABL_BINunsetPath to a local trustabl build to run instead of downloading one.

The server runs the Trustabl analyzer's trustabl forge. On first use it downloads the analyzer release for your OS and architecture, checks it against the release's checksums.txt (a mismatch is a hard failure), and caches it in ~/.agent-reliability-skills/<version>/. The analyzer's own TRUSTABL_TELEMETRY setting applies to the binary it runs; analyzer telemetry is off until you configure it.

Network

The first call fetches two things: the analyzer binary, and Trustabl's rules repository, which the analyzer caches. After that both work offline from cache. No git binary is needed.

Download counts

Each release attaches agent-reliability-skills-<version>.tgz and checksums.txt, and every install above downloads the .tgz, so GitHub counts it. pending. A weekly workflow records the counts in .github/stats/download-history.json. They are downloads, not users, and include automated installs such as CI.

Releasing

  1. In one pull request, set version in package.json, update the release URLs in this README and mcp.json (CI fails until they match), run npm run build in server/, and commit dist/index.js.
  2. After it merges, tag the merge commit v<version> and push the tag. The release workflow checks the tag against package.json, packs the server, and publishes the .tgz with checksums.txt.

Security

See SECURITY.md.

来源:README.md,提交 dc66b80

工具

1

trustabl_forge

Generate a pre-coding reliability skill

Generate a pre-coding reliability skill (SKILL.md) for a repository with Trustabl Forge. Forge reads the repository's dependency manifests, finds the agent SDKs it uses (Claude Agent SDK, OpenAI Agents SDK, Google ADK, MCP, LangChain, CrewAI, Pydantic AI, Vercel AI SDK, AutoGen and more), and builds the skill from Trustabl's detection rules for those SDKs, so the rules are applied while code is written. Returns a short summary and the SKILL.md content. Writes a file only when output_path is given; the usual destination is .claude/skills/trustabl-pre-coding/SKILL.md. An existing file is replaced only if Forge generated it.

输入参数langpathpolicyoutput_path

版本历史

1
  1. v0.1.0-rc.2最新Nov 6, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分