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 skills/u9401066/nsforge-mcp/nsforge-code-generationnpx skills add u9401066/nsforge-mcp --skill nsforge-code-generationgit 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.svg" alt="Measured on agentmods" 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 | $0.00038 | $0.00705 |
| Opus 5 | $0.00019 | $0.00352 |
| Sonnet 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 3d 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.
- 3d 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 3d ago), licensed Apache-2.0. It adds 38 tokens to every session and 705 once invoked, about $0.0002 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-31.
Other skills, from other repositories
x402
Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…
browser-use
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work.
final-release-review
Perform pre-release planning or a final release-candidate review for openai-agents-python by comparing the target with the previous remote tag, determining the minimum compatible release type, auditing regressions and contract changes, reviewing open documentation PR coverage, drafting minor-release Key Changes, and…
implementation-strategy
Choose compatibility-aware scope for runtime and API changes in openai-agents-python. Use before initial implementation and each review-feedback batch to decide whether to patch, reset the design, preserve compatibility, or reject unsupported cases.
mem0-dream
Consolidates stored memories by merging duplicates, resolving contradictions, and pruning stale entries. Use when memory count is high, search results feel noisy or repetitive, or periodic cleanup is needed to maintain memory quality.
mem0-tour
Browses all stored memories grouped by category with full content display. Use when reviewing all project memories, exploring stored knowledge, onboarding to a project, or getting an overview of captured decisions, conventions, and learnings.