Borrowing it
Nothing to install: this file belongs to u9401066/nsforge-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/u9401066/nsforge-mcp/master/.claude/skills/nsforge-code-generation/SKILL.mdgit clone --depth 1 https://github.com/u9401066/nsforge-mcpWrote 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/u9401066/nsforge-mcp/nsforge-code-generation)<a href="https://agentmods.dev/skills/u9401066/nsforge-mcp/nsforge-code-generation"><img src="https://agentmods.dev/badge/skills/u9401066/nsforge-mcp/nsforge-code-generation/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/u9401066/nsforge-mcp/nsforge-code-generation"><img src="https://agentmods.dev/badge/skills/u9401066/nsforge-mcp/nsforge-code-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00038 | $0.00705 |
| Opus 5.5 | $0.00015 | $0.00282 |
| Sonnet 5.5 | $0.00008 | $0.00141 |
| Haiku 4.5 | $0.00004 | $0.00071 |
Grade A, and why
nsforge-code-generation 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.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
程式碼生成 Skill
⚠️ 生成後必須向用戶展示結果!
- 生成的 Python 函數要用程式碼區塊展示
- 生成的 LaTeX 要渲染給用戶看
- 生成 Markdown 報告後顯示完整內容
工具速查
| 輸出類型 | 工具 |
|---|---|
| Python 函數 | generate_python_function(name, description, parameters, steps, return_vars) |
| LaTeX 公式 | generate_latex_derivation(steps, title?, include_preamble?) |
| Markdown 報告 | generate_derivation_report(title, given, steps, result, assumptions?, limitations?) |
| SymPy 腳本 | generate_sympy_script(expressions, operations) |
調用範例
Python 函數
generate_python_function(
name="arrhenius_rate",
description="Calculate rate using Arrhenius equation",
parameters=[
{"name": "k_ref", "type": "float", "description": "Reference rate (1/s)"},
{"name": "E_a", "type": "float", "description": "Activation energy (J/mol)"},
{"name": "T", "type": "float", "description": "Temperature (K)"}
],
steps=[
{"description": "Arrhenius equation", "expression": "k_ref * exp(E_a/R * (1/T_ref - 1/T))", "result_var": "k"}
],
return_vars=["k"]
)
LaTeX
generate_latex_derivation(
steps=[
{"description": "Base model", "expression": "C = C_0 e^{-kt}"},
{"description": "Substitute k", "expression": "C = C_0 e^{-k_{ref} e^{...} t}"}
],
title="Temperature-Corrected Elimination"
)
Markdown 報告
generate_derivation_report(
title="Temperature-Corrected Elimination",
given=["One-compartment model: $C = C_0 e^{-kt}$"],
steps=[{"description": "...", "expression": "..."}],
result="$C(t,T) = ...$",
assumptions=["First-order elimination"],
limitations=["Valid for 32-42°C"]
)
SymPy 腳本
generate_sympy_script(
expressions=[
{"name": "C_base", "expr": "C_0 * exp(-k*t)", "description": "One-compartment"}
],
operations=[
{"op": "substitute", "input": "C_base", "var": "k", "replacement": "k_arrhenius"}
]
)
先計算再生成
複雜情況先用 SymPy-MCP 計算(如 dsolve_ode),再用 NSForge 生成程式碼。
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.
- 1mo ago First seen · 83 lines · 38 tokens per session scan A 79ee4efeb922
nsforge-code-generation is a skill published in the GitHub repository u9401066/nsforge-mcp (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 705 once invoked, about $0.0002 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-08-31.
Other skills, from other repositories
accelerate
Run PyTorch training across GPUs with minimal changes.
jupyter-notebook
Iterative Python via live Jupyter kernel (hamelnb).
mem0
Mem0 Platform SDK for adding persistent memory to AI applications. TRIGGER when: user mentions "mem0", "MemoryClient", "memory layer", "remember user preferences", "persistent context", "personalization", or needs to add long-term memory to chatbots, agents, or AI apps. Covers Python SDK (mem0ai), TypeScript SDK…
detect-framework
Detect Python agent frameworks from code imports and map them to Omnigent executor types. Load when the user has existing agent code to integrate.
migrating-langchain-to-pydantic-ai
Migrate Python LangChain, LangGraph, or Deep Agents applications to Pydantic AI and, when the source uses harness features, Pydantic AI Harness. Use for LangChain agents, chains, LCEL, direct LangGraph graphs, persistence, interrupts, streaming, and createdeepagent projects with planning, filesystem or sandbox…
migrating-mastra-to-pydantic-ai
Migrate TypeScript Mastra applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports @mastra/ or relies on Mastra agents, tools, workflows, memory, processors, streaming, approvals, skills, or subagents.