nitrostack-tools-resources-prompts

nitrostack-tools-resources-prompts is a skill for Claude Code, Codex from nitrocloudofficial/nitrostack. It costs 48 tokens per session (2,316 once invoked), scanned A, original, Apache-2.0.

Project-specific instructions for defining and routing AI-agent skills in the ORG2 repository, including bug-fixing guidance and interface-writing conventions.

In plain words
What is it for?
Use them when working in ORG2, especially for routing tasks to skills, fixing bugs by finding their underlying cause, following delivery steps, or writing user-interface text.
Why use it?
They help an agent follow the repository’s expected workflow and choose the appropriate guidance for each task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use them when working in ORG2, especially for routing tasks to skills, fixing bugs by finding their underlying cause, following delivery steps, or writing user-interface text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nitrocloudofficial/nitrostack/tools-resources-prompts
About the project

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.

nitrocloudofficial/nitrostack · 2,497 stars · on GitHub · nitrostack.ai

Install

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.

Any agent
npx skills add nitrocloudofficial/nitrostack --skill tools-resources-prompts
Clone the repo
git clone --depth 1 https://github.com/nitrocloudofficial/nitrostack

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nitrostack-tools-resources-prompts

README.md
[![agentmods](https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/tools-resources-prompts.svg)](https://agentmods.dev/skills/nitrocloudofficial/nitrostack/tools-resources-prompts)
Your own site
<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>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,316 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 8d ago against content hash 6afc492e781b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

Origin

Copies of this mod

6 near-identical copies found in the catalogue:

sample-apps/AI-Scheduler-NitroStack-Hackathon/.agents/skills/tools-resources-prompts/SKILL.md · 288 lines

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}/file or static app://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,
    };
  }
}

Read the full file on GitHub · 288 lines

Changes

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.

  1. 8d ago First seen · 288 lines · 48 tokens per session scan A 6afc492e781b

Subscribe to this mod's changes

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.