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 skills add fdueblab/Micro-Agent --skill algorithm_code_standardsgit clone --depth 1 https://github.com/fdueblab/Micro-AgentWrote 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.
[](https://agentmods.dev/skills/fdueblab/micro-agent/algorithm_code_standards)<a href="https://agentmods.dev/skills/fdueblab/micro-agent/algorithm_code_standards"><img src="https://agentmods.dev/badge/skills/fdueblab/micro-agent/algorithm_code_standards/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.
<a href="https://agentmods.dev/skills/fdueblab/micro-agent/algorithm_code_standards"><img src="https://agentmods.dev/badge/skills/fdueblab/micro-agent/algorithm_code_standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00427 |
| Opus 5.5 | $0.00000 | $0.00171 |
| Sonnet 5.5 | $0.00000 | $0.00085 |
| Haiku 4.5 | $0.00000 | $0.00043 |
Grade A, and why
algorithm_code_standards 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 22d 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.
What it actually says
算法代码提交规范
本技能定义了众智工场平台的算法代码提交要求,适用于「算法模型想定式开发」任务。 生成的代码必须满足以下规范,以便后续在平台进行自动代码分析与封装为 MCP 服务。
核心函数独立性(最重要)
- 每个可被封装为 MCP 工具的核心函数必须能单独直接调用,不依赖模块级/全局可变状态。
- 模型加载、配置读取、资源路径解析等必须在函数内部完成。
- 禁止在函数外
model = load_model()再在函数内使用。 - 推荐每次调用在函数内完成加载以保证独立性与可测试性。
类型注解与 Google 风格文档字符串
- 所有对外核心函数必须具备完整类型注解(参数与返回值)。
- 每个核心函数必须使用 Google 风格 docstring:
- 第一行:简短功能描述
Args:列出每个参数Returns:列出返回值含义
代码结构
- 算法层:清晰的顶层函数,必须包含
main_process(...)主入口,签名带完整类型注解。 - Web 层(可选推荐):Flask + flask-restx 生成 Swagger,路由只做参数校验与调用核心函数。
- 保存为单文件
{model_name}_algorithm.py。 - 文件顶部用注释块列出依赖清单(pip requirements 风格,带版本号)。
质量要求
- 语法正确,可直接
python <文件名>.py运行。 - 符合 PEP 8。
- 适当的 try/except、输入校验与日志。
- 不要使用省略号或 pass 代替真实实现。
- 如有参考来源,在 docstring 中标注。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 22d ago Changed a0b627fa1623
- 1mo ago First seen · 35 lines · 0 tokens per session scan A f50dbca24d3c
algorithm_code_standards is a skill published in the GitHub repository fdueblab/Micro-Agent (101 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 427 tokens. 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 skills, from other repositories
rag-knowledge
Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vectorstore }} + {{…
vandalizer-api
Talk to the Vandalizer Management API — /api/mgmt/v1. Use when the user says "/vandalizer-api", asks to query the management API, pastes a vklive… key, asks to check Vandalizer dev/prod stats, validation runs, workflows, audit log, or wants to run a workflow/validation/extraction via the management surface.
RAG Reasoning
Visible reasoning contract for retrieval, evidence selection, and grounded synthesis.
search_knowledge
Search the knowledge base using RAG (pgvector) semantic similarity.
rag-engineer
RAG pipeline development, vector databases, and retrieval optimization.
mem0-vercel-ai-sdk
Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…