agent-ai-coding

agent-ai-coding is a skill for Claude Code, Codex from w8123/EnterpriseAgentFramework. It costs 84 tokens per session (2,131 once invoked), scanned A, original, MIT.

A set of instructions for creating and managing project-scoped AI coding agents through a restricted REST API, a web interface for software operations.

In plain words
What is it for?
It helps create or update agents, configure prompts and models, discover published skills, and attach exact skill versions.
Why use it?
It defines which projects, agents, skills, credentials, and actions are allowed, reducing accidental cross-project changes and unsafe secret handling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit It helps create or update agents, configure prompts and models, discover published skills, and attach exact skill versions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w8123/enterpriseagentframework/agent-ai-coding
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.

Any agent
npx skills add w8123/EnterpriseAgentFramework --skill agent-ai-coding
Clone the repo
git clone --depth 1 https://github.com/w8123/EnterpriseAgentFramework

Made for: Claude Code, Codex.

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 agent-ai-coding

README.md
[![agentmods](https://agentmods.dev/badge/skills/w8123/enterpriseagentframework/agent-ai-coding/github.svg)](https://agentmods.dev/skills/w8123/enterpriseagentframework/agent-ai-coding)
Your own site
<a href="https://agentmods.dev/skills/w8123/enterpriseagentframework/agent-ai-coding"><img src="https://agentmods.dev/badge/skills/w8123/enterpriseagentframework/agent-ai-coding/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-ai-coding

Your own site · 80×15
<a href="https://agentmods.dev/skills/w8123/enterpriseagentframework/agent-ai-coding"><img src="https://agentmods.dev/badge/skills/w8123/enterpriseagentframework/agent-ai-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,131 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00084 $0.02131
Opus 5.5 $0.00034 $0.00852
Sonnet 5.5 $0.00017 $0.00426
Haiku 4.5 $0.00008 $0.00213

Measured 1mo ago against content hash 339017897503, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-ai-coding 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 1mo 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.

reachai-control-service/src/main/resources/ai-assist/skills/agent-ai-coding/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent AI Coding

适用范围

通过项目级 AI Coding 凭据完成受约束的 Agent 编排,不直接调用控制台 /api/agents/** 或 /api/skills/**,不直接写 runtime_agent、runtime_agent_config_version 或 Agent Skill 绑定表。

认证方式:每次请求都发送 X-ReachAI-AiCoding-Key。该 Key 只放在请求头,不得写入 URL、生成代码、日志、浏览器运行时代码或仓库文件。API Base URL 和 projectId 必须来自当前项目 handoff 或 GET /api/ai-coding/projects/{projectId}/manifest,不要猜测。

凡是 Agent 名称、描述、System Prompt、审计说明和返回给业务用户的内容,默认使用清晰的简体中文;keySlug、ID、枚举、路径和协议字段保持原样。

强制安全边界

  • 只能读取或修改当前 projectId 与 projectCode 同时匹配的 Agent。
  • 创建的 Agent 固定为 visibility=PROJECT;不能通过 AI Coding 改写项目归属、keySlug、可见性或内部 ID。
  • 只能绑定精确的 PUBLISHED Skill 版本。可绑定范围为 PUBLIC、SHARED,或当前同项目的 PROJECT Skill;PRIVATE Skill 永远不可发现、不可绑定。
  • AI Coding 绑定的 Skill 始终使用 scriptPolicy=DENY。不能申请或伪造 SANDBOX_REVIEWED,也不能批准脚本执行。
  • AI Coding 不提供 Skill 包导入、评审、发布、撤回或删除能力。这些治理动作必须由控制台中的人完成。
  • AI Coding 不发布包含远程 A2A Agent 绑定的配置;出现 AGENT_A2A_REQUIRES_CONSOLE 时转交控制台人工处理。
  • 不提供 Agent 删除接口。停用 Agent 只能通过受约束的 identity update 设置 enabled=false。
  • Workflow 必须先通过 Workflow AI Coding 校验并发布,再通过项目级 Workflow-as-Tool attach 接口添加。

标准执行循环

  1. 下载本 Skill:GET /api/ai-assist/skills/agent-ai-coding/latest.zip。
  2. 读取项目 manifest:GET /api/ai-coding/projects/{projectId}/manifest。
  3. 列出 Agent:GET /api/ai-coding/projects/{projectId}/agents。
  4. 新建 Agent,或读取目标 Agent 的完整上下文。
  5. 修改前读取 mutableBase.configVersionId。若已有 DRAFT,后续写请求必须显式携带该 DRAFT id;不要覆盖未读草稿。
  6. 修改 Supervisor 字段、绑定 Skill、解绑 Skill或附加 Workflow。
  7. 默认让 Skill attach/detach 直接发布;若 publish=false,完成全部修改后再显式发布 DRAFT。
  8. 重新读取 Agent,确认 ACTIVE 配置、Skill 精确版本和 Workflow Tool 白名单。

API

列出与读取 Agent

GET /api/ai-coding/projects/{projectId}/agents
GET /api/ai-coding/projects/{projectId}/agents/{agentId}

第二个接口返回 agent、configVersions 和 mutableBase。必须用真实返回的内部 agent.id 调用后续 Agent authoring 接口。

创建 Agent

POST /api/ai-coding/projects/{projectId}/agents
Content-Type: application/json
{
  "keySlug": "orders-assistant",
  "name": "订单助手",
  "description": "处理订单查询与协作任务",
  "enabled": true,
  "allowedRoles": ["ORDER_OPERATOR"],
  "supervisorConfig": {
    "modelInstanceId": "从平台返回值中选择的 ACTIVE LLM id",
    "systemPrompt": "你是订单助手,只使用已允许的 Skill 和 Workflow。",
    "maxPlanSteps": 6,
    "maxWorkflowCalls": 4,
    "maxReplans": 2,
    "policyProfile": "DEV_ALLOW_ALL"
  },
  "activate": true,
  "requestedBy": "Codex"
}

Read the full file on GitHub · 185 lines

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. 1mo ago First seen · 185 lines · 84 tokens per session scan A 339017897503

Subscribe to this mod's changes

agent-ai-coding is a skill published in the GitHub repository w8123/EnterpriseAgentFramework (919 stars, last pushed yesterday), licensed MIT. It adds 84 tokens to every session and 2,131 once invoked, about $0.0003 per session on Opus 5.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-09-13.