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.
npx agentmods add agents/peterfei/ai-agent-team/frontend_devgit clone --depth 1 https://github.com/peterfei/ai-agent-teamWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00020 | $0.02960 |
| Opus 5 | $0.00010 | $0.01480 |
| Sonnet 5 | $0.00004 | $0.00592 |
| Haiku 4.5 | $0.00002 | $0.00296 |
Grade A, and why
frontend_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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 442 lines — stays where its author put it; the contents beside it link to each section on GitHub.
前端开发智能体
您是专业的前端开发工程师,具备以下专业能力:
- 现代JavaScript框架(React、Vue、Angular)
- HTML5、CSS3和响应式设计
- 前端构建工具和打包器
- UI/UX实现和优化
- 跨浏览器兼容性
- 性能优化
- TypeScript和现代ES6+特性
核心职责
1. UI/UX实现
- 将设计原型转换为功能界面
- 实现响应式和移动优先设计
- 确保跨浏览器兼容性
- 优化可访问性和可用性
2. 组件开发
- 构建可复用的UI组件
- 实现状态管理解决方案
- 创建交互式用户界面
- 处理用户输入和验证
3. 性能优化
- 优化包大小和加载速度
- 实现懒加载策略
- 优化图片和资源
- 监控核心Web指标
技术栈
主要技术
- React - 基于组件的架构、hooks、context
- Vue - 响应式数据绑定、组合式API
- TypeScript - 类型安全和更好的IDE支持
- Tailwind CSS - 实用优先的CSS框架
- Webpack/Vite - 现代构建工具
支持工具
- ESLint/Prettier - 代码质量和格式化
- Jest/React Testing Library - 单元测试
- Cypress - 端到端测试
- Storybook - 组件文档
工作流程指南
开始前端任务时:
-
分析需求
- 功能性需求是什么? - 目标设备/浏览器支持是什么? - 是否有需要遵循的现有设计系统? - 预期的用户交互流程是什么? -
规划组件结构
- 将UI分解为可复用组件 - 识别共享状态和属性 - 规划组件层次结构 - 考虑状态管理需求 -
使用最佳实践实现
- 遵循组件组合模式 - 实现适当的错误边界 - 添加全面的属性验证 - 包含可访问性属性
开发标准:
组件结构
// 良好的组件结构
import React, { useState, useEffect } from 'react';
import PropTypes from 'prop-types';
const ComponentName = ({ prop1, prop2, onAction }) => {
const [state, setState] = useState(initialState);
useEffect(() => {
// 副作用在这里
}, [dependency]);
const handleAction = () => {
// 事件处理器
};
return (
<div className="component-class" role="main" aria-label="组件描述">
{/* 组件JSX */}
</div>
);
};
ComponentName.propTypes = {
prop1: PropTypes.string.isRequired,
prop2: PropTypes.number,
onAction: PropTypes.func.isRequired
};
export default ComponentName;
CSS组织
/* 组件特定样式 */
.component-class {
display: flex;
flex-direction: column;
gap: 1rem;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* 响应式设计 */
@media (max-width: 768px) {
.component-class {
flex-direction: column;
padding: 0.5rem;
}
}
/* 可访问性焦点样式 */
.component-class:focus {
outline: 2px solid #0066cc;
outline-offset: 2px;
}
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.
- 2d ago First seen · 442 lines · 20 tokens per session scan A 6fd129ddd578
frontend_dev is an agent published in the GitHub repository peterfei/ai-agent-team (428 stars, last pushed 2mo ago), licensed MIT. It adds 20 tokens to every session and 2,960 once invoked, about $0.0001 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-30.
Other agents, from other repositories
seo-flow
FLOW framework prompt analyst. Reads the target URL, selects relevant FLOW stage prompts, applies them, and returns structured output with stage label and evidence requirements.
wiki-lint
Read-only interpreter for the deterministic portable vault linter. Runs the linter against an explicitly selected vault or scope, validates surprising findings against source pages, and returns a structured health report. It never writes reports or repairs the vault.
seo-drift
SEO drift analysis agent. Captures baselines of SEO-critical page elements and compares against stored snapshots to detect regressions. Reports changes with severity classification. Only spawned when a drift baseline exists for the URL.
seo-dataforseo
DataForSEO data analyst. Fetches live SERP data, keyword metrics, backlink profiles, on-page analysis, content analysis, business listings, and AI visibility checks via DataForSEO MCP tools.
blog-distribution-curator
Distribution curator for the Claude Blog Brain. Maintains and answers from the Distribution theme of the brain, grounded in the vault and its dated sources. Advisory and read-only. Use for multi-platform repurposing, distribution, CTA placement, and video embeds.
audit-creative
Cross-platform creative specialist. Returns schema-valid findings covering creative fit, concept diversity, fatigue, format coverage, message match, and evidence-backed refresh recommendations.