mcp_tools: Agent for Claude Code

.github/agents/web_dev.agent.md

web_dev is an agent for Claude Code from ljzloser/mcp_tools. It costs 33 tokens per session (1,287 once invoked), scanned A, a copy of client_dev, MIT.

An agent for developing the MCP Tool Hub web interface, built as a Vue 3 single-page application. It covers the browser UI and its REST connection to the backend.

In plain words
What is it for?
Use it to build or change Vue pages, API requests, responsive components, build settings, logs, and plugin-management screens.
Why use it?
It provides a consistent guide for connecting the web interface to server operations such as listing, configuring, enabling, and disabling plugins.

Agent for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is ljzloser/mcp_tools's own configuration. It tells Claude Code how to work on mcp_tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp_tools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ljzloser/mcp_tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ljzloser/mcp_tools/master/.github/agents/web_dev.agent.md
Clone the repo
git clone --depth 1 https://github.com/ljzloser/mcp_tools

Made for: Claude Code.

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 web_dev

README.md
[![agentmods](https://agentmods.dev/badge/agents/ljzloser/mcp_tools/web_dev/github.svg)](https://agentmods.dev/agents/ljzloser/mcp_tools/web_dev)
Your own site
<a href="https://agentmods.dev/agents/ljzloser/mcp_tools/web_dev"><img src="https://agentmods.dev/badge/agents/ljzloser/mcp_tools/web_dev/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 web_dev

Your own site · 80×15
<a href="https://agentmods.dev/agents/ljzloser/mcp_tools/web_dev"><img src="https://agentmods.dev/badge/agents/ljzloser/mcp_tools/web_dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,287 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 88% copy Near-identical to another mod 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.00033 $0.01287
Opus 5.5 $0.00013 $0.00515
Sonnet 5.5 $0.00007 $0.00257
Haiku 4.5 $0.00003 $0.00129

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

Security

Grade A, and why

web_dev 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 2mo 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.

Origin

This is a copy

88% identical to client_dev — 144 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/agents/web_dev.agent.md · 159 lines

How it starts

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

Web 前端开发 Agent

你是 MCP Tool Hub Web 前端开发专家,精通 Vue 3、Vite 和原生 JS/CSS。

核心组件

Web 架构(web/)

  • src/main.js — Vue 应用入口
  • src/App.vue — 主应用组件,含标签页导航
  • src/api.js — Axios HTTP 客户端,对接后端 API
  • index.html — HTML 入口
  • vite.config.js — 构建配置

API 集成

Web 前端通过端口 9020 与后端管理 API 通信。使用 api.js 工具:

import api from "./api.js";

// GET 请求
const plugins = await api.listPlugins();

// POST 请求
await api.serverReload();

// 带参数
const logs = await api.getLogs({ plugin: "calculator" });

关键端点

方法 端点 说明
GET /health 健康检查
GET /server/status 服务器状态
POST /server/reload 重载服务器
GET /plugins 列出所有插件
GET /plugins/{name} 获取插件详情
PUT /plugins/{name}/enable 启用插件
PUT /plugins/{name}/disable 禁用插件
GET /plugins/{name}/config 获取插件配置
PUT /plugins/{name}/config 更新插件配置
PUT /plugins/{name}/mcp 切换 MCP 暴露
GET /logs 获取日志
DELETE /logs 清空日志
POST /logs/prune 清理旧日志

规范

  • 协议模型 — 使用 api/protocol.py 的 Pydantic 模型作为响应结构参考
  • Vue 3 Composition API — 优先使用 <script setup> 语法
  • 组件结构 — template、script、style 三段式
  • 构建输出 — npm run build 输出到 assets/web/
  • 静态服务 — FastAPI 在 /web/ 路径提供构建文件

样式

使用 CSS 变量和工具类:

.app {
  --primary-color: #0078d4;
}
.btn {
  background: var(--primary-color);
}
.dark {
  --bg: #1e1e1e;
  --text: #fff;
}

工作流程

1. 理解需求

阅读 web/src/App.vue 和 web/src/api.js 了解当前结构。

2. 实现变更

添加新标签页:

<!-- 在 App.vue 中 -->
<nav class="tabs">
  <button :class="['tab', { active: currentTab === 'mytab' }]" 
          @click="currentTab = 'mytab'">我的标签</button>
</nav>

<section v-if="currentTab === 'mytab'" class="section">
  <!-- 内容 -->
</section>

Read the full file on GitHub · 159 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. 2mo ago First seen · 159 lines · 33 tokens per session scan A 3fdaa41638e6

Subscribe to this mod's changes

web_dev is an agent published in the GitHub repository ljzloser/mcp_tools (4 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 1,287 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to client_dev, differing in 144 lines, and is treated as a copy.

Related

web_dev compared with agents from other repositories

web_dev next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web_devljzloser/mcp_toolsAgent44mo agoMITA33Claude Code
laravel-vue-developerdavepoon/buildwithclaudeAgent3.7kyesterdayMITA61Claude Code
svelte-proJosephHampton/awesome-gemini-cli-subagentsAgent936d agoCC0-1.0A37Claude Code
vue-proJosephHampton/awesome-gemini-cli-subagentsAgent936d agoCC0-1.0A37Claude Code
frontend-engineerirahardianto/awesome-agvAgent15823d agoMITA41Claude Code
nuxt-devincubrain/foundryAgent7911d agoMITA0Claude Code
i18nzhimaAi/chatwikiAgent2.1k21d agononeA7Claude Code