node-csfd-api: Skill for Claude Code

.agent/skills/add_mcp_tool/SKILL.md

Add MCP Tool is a skill for Claude Code, Codex from bartholomej/node-csfd-api. It costs 25 tokens per session (411 once invoked), scanned A, original, MIT.

A guide for exposing an existing CSFD scraper function as a tool that an AI agent can call through the Model Context Protocol, a standard way to connect agents to tools.

In plain words
What is it for?
It is for adding a new callable scraper operation to the MCP server, such as making an existing movie-data function available to an AI agent.
Why use it?
It explains how to describe inputs, register the tool, call the scraper service, and return results or errors in the expected format. It assumes the scraping function already exists.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is bartholomej/node-csfd-api's own configuration. It tells Claude Code and Codex how to work on node-csfd-api itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything node-csfd-api configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bartholomej/node-csfd-api. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bartholomej/node-csfd-api/master/.agent/skills/add_mcp_tool/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bartholomej/node-csfd-api

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 Add MCP Tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/bartholomej/node-csfd-api/add_mcp_tool/github.svg)](https://agentmods.dev/skills/bartholomej/node-csfd-api/add_mcp_tool)
Your own site
<a href="https://agentmods.dev/skills/bartholomej/node-csfd-api/add_mcp_tool"><img src="https://agentmods.dev/badge/skills/bartholomej/node-csfd-api/add_mcp_tool/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.

agentmods 80×15 button for Add MCP Tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/bartholomej/node-csfd-api/add_mcp_tool"><img src="https://agentmods.dev/badge/skills/bartholomej/node-csfd-api/add_mcp_tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 411 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.00025 $0.00411
Opus 5.5 $0.00010 $0.00164
Sonnet 5.5 $0.00005 $0.00082
Haiku 4.5 $0.00003 $0.00041

Measured 2mo ago against content hash aae4ea987320, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Add MCP Tool 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 2mo 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.

.agent/skills/add_mcp_tool/SKILL.md · 67 lines

What it actually says

Add MCP Tool

This skill explains how to Register a new tool in the MCP server so it can be used by LLMs.

Prerequisites

The functionality must already exist in a Service (e.g., csfd.movie(id)). If not, use the implement_scraper_feature skill first.

1. LOCATE the Server Entry

  • File: mcp-server/index.ts

2. DEFINE Input Schema

Use Zod to define the input arguments. Rule: Every .describe() call is part of the prompt for the AI. Be descriptive!

const toolArgs = {
  myParam: z.string().describe('Description of what this parameter does...')
};

3. REGISTER the Tool

Add the server.tool() call.

server.tool(
  'tool_name_snake_case',
  'A clear, action-oriented description of what the tool does. Mention required inputs.',
  toolArgs,
  async ({ myParam }) => {
    try {
      // 1. Call the service
      const result = await csfd.someMethod(myParam);

      // 2. Return JSON content
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(result, null, 2)
          }
        ]
      };
    } catch (error) {
      // 3. Handle errors gracefully
      return {
        content: [{ type: 'text', text: `Error: ${error}` }],
        isError: true
      };
    }
  }
);

4. TEST the Tool

  • Command: yarn build:mcp (to check types)
  • Manual Test: You can temporarily add a call to main() or use the MCP Inspector if configured.
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. 2mo ago First seen · 67 lines · 25 tokens per session scan A aae4ea987320

Subscribe to this mod's changes

Add MCP Tool is a skill published in the GitHub repository bartholomej/node-csfd-api (66 stars, last pushed 4d ago), licensed MIT. It adds 25 tokens to every session and 411 once invoked, about $0.0001 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-30.

Related

Add MCP Tool compared with skills from other repositories

Add MCP Tool next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Add MCP Toolbartholomej/node-csfd-apiSkill664d agoMITA25Claude Code, Codex
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
publish-npm-versionprisma/ormSkill48kyesterdayApache-2.0A182Claude Code, Codex
contrib-prprisma/ormSkill48kyesterdayApache-2.0A65Claude Code, Codex
github-review-iterationprisma/ormSkill48kyesterdayApache-2.0A60Claude Code
review-implement-phaseprisma/ormSkill48kyesterdayApache-2.0A38Claude Code
angular-developerangular/angularSkill101kyesterdayMITA93Claude Code, Codex