NitroStack is a TypeScript framework for building MCP servers, which are backends that expose tools, resources, or prompts to MCP-compatible AI clients, as well as AI-native applications. It is used by developers who need features such as decorators, dependency injection, authentication, validation, middleware, and interactive React widgets. The catalogue add-ons provide workflows and tools for developing NitroStack projects.
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 nitrocloudofficial/nitrostack --skill tools-resources-promptsgit clone --depth 1 https://github.com/nitrocloudofficial/nitrostackWrote 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/nitrocloudofficial/nitrostack/tools-resources-prompts)<a href="https://agentmods.dev/skills/nitrocloudofficial/nitrostack/tools-resources-prompts"><img src="https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/tools-resources-prompts.svg" alt="Measured on agentmods" 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.00048 | $0.02316 |
| Opus 5 | $0.00024 | $0.01158 |
| Sonnet 5 | $0.00010 | $0.00463 |
| Haiku 4.5 | $0.00005 | $0.00232 |
Grade A, and why
nitrostack-tools-resources-prompts 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 8d 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.
Copies of this mod
6 near-identical copies found in the catalogue:
- nitrostack-tools-resources-prompts — 100% identical, 0 lines differ
- nitrostack-tools-resources-prompts — 100% identical, 0 lines differ
- nitrostack-tools-resources-prompts — 100% identical, 0 lines differ
- nitrostack-tools-resources-prompts — 100% identical, 0 lines differ
- nitrostack-tools-resources-prompts — 100% identical, 0 lines differ
- nitrostack-tools-resources-prompts — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to Use
Use this skill whenever you are defining, editing, or validating tools, resources, or prompts on a NitroStack MCP server.
Defining Tools with @Tool
An MCP tool exposes a function that an AI client can invoke. Decorate a service or controller method with @Tool.
Key Tool Options:
name: Kebab-case or snake_case unique identifier.description: Detailed description explaining when and how the client should use it.inputSchema: A Zod object schema for strict validation of inputs.outputSchema(optional): Zod schema validating the output structure.
import { ToolDecorator as Tool, ControllerDecorator as Controller, InitialTool, z, ExecutionContext } from '@nitrostack/core';
@Controller('weather')
export class WeatherService {
@Tool({
name: 'get_current_weather',
description: 'Get the current weather forecast for a specific city.',
inputSchema: z.object({
city: z.string().describe('The name of the city, e.g., San Francisco'),
unit: z.enum(['celsius', 'fahrenheit']).default('celsius'),
}),
})
@InitialTool() // Auto-invoked when the AI client initializes/starts
async getWeather(
input: { city: string; unit: 'celsius' | 'fahrenheit' },
ctx: ExecutionContext
) {
ctx.logger.info(`Fetching weather for ${input.city}`);
// implementation
return {
city: input.city,
temp: 22,
condition: 'Sunny',
};
}
}
Defining Resources with @Resource
An MCP resource exposes static or dynamic data files/URIs that the AI client can read.
Key Resource Options:
uri: URI pattern (e.g.,git://{owner}/{repo}/fileor staticapp://config).name: Unique name of the resource.description: Explanation of what data this resource provides.mimeType: Mime type of the response (e.g.,text/plain,application/json).
import { Resource, ExecutionContext } from '@nitrostack/core';
export class ConfigResources {
@Resource({
uri: 'app://settings',
name: 'Application Settings',
description: 'System-wide configuration settings and parameters.',
mimeType: 'application/json',
})
async getSettings(ctx: ExecutionContext) {
return {
environment: 'development',
debugMode: true,
};
}
}
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.
- 8d ago First seen · 288 lines · 48 tokens per session scan A 6afc492e781b
nitrostack-tools-resources-prompts is a skill published in the GitHub repository nitrocloudofficial/nitrostack (2,497 stars, last pushed yesterday), licensed Apache-2.0. It adds 48 tokens to every session and 2,316 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-30.
Other skills, from other repositories
tunnel-mcp
Create, connect, list, and inspect MCP tunnel runtimes through the local tunnel-client plugin. Use when Codex needs to manage secure MCP tunnels with aliases and native tunnel-client runtime processes.
socialclaw
Use when a user wants social media scheduling and publishing for AI agents on X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest through SocialClaw.
socialclaw
Use when a user wants social media scheduling and publishing for AI agents on X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest through SocialClaw.
socialclaw
Schedule and publish social media posts across X, LinkedIn, Instagram, Facebook Pages, TikTok, YouTube, Reddit, Pinterest, WordPress, Discord, and Telegram. Use when the user wants to post, schedule, or publish to social media, or check post status and analytics.
conductor-setup
Scaffolds the project and sets up the Conductor environment interactively.
conductor-implement
Executes the tasks defined in the specified track's plan, then automatically runs the review gate.