pinelabs-online-mcp: Skill for Claude Code

.agents/skills/pinelabs-mcp-tool-gen/SKILL.md

pinelabs-mcp-tool-gen is a skill for Claude Code, Codex from plural-pinelabs/pinelabs-online-mcp. It costs 0 tokens per session (1,303 once invoked), scanned A, original, Apache-2.0.

A code-generation guide for building MCP tools from Pine Labs API details, such as documentation, curl commands, or request and response examples. MCP is a standard way for AI assistants to call external tools.

In plain words
What is it for?
Use it to create Pine Labs API tool implementations, add them to an MCP server, validate inputs, write tests, and check the code with a linter.
Why use it?
It removes the need to manually translate an API description into tool code, data models, registration, and tests.

Skill for Claude CodeCodex

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

This is plural-pinelabs/pinelabs-online-mcp's own configuration. It tells Claude Code and Codex how to work on pinelabs-online-mcp 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 pinelabs-online-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to plural-pinelabs/pinelabs-online-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.

Copy the file
curl -O https://raw.githubusercontent.com/plural-pinelabs/pinelabs-online-mcp/main/.agents/skills/pinelabs-mcp-tool-gen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/plural-pinelabs/pinelabs-online-mcp

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 pinelabs-mcp-tool-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/plural-pinelabs/pinelabs-online-mcp/pinelabs-mcp-tool-gen/github.svg)](https://agentmods.dev/skills/plural-pinelabs/pinelabs-online-mcp/pinelabs-mcp-tool-gen)
Your own site
<a href="https://agentmods.dev/skills/plural-pinelabs/pinelabs-online-mcp/pinelabs-mcp-tool-gen"><img src="https://agentmods.dev/badge/skills/plural-pinelabs/pinelabs-online-mcp/pinelabs-mcp-tool-gen/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 pinelabs-mcp-tool-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/plural-pinelabs/pinelabs-online-mcp/pinelabs-mcp-tool-gen"><img src="https://agentmods.dev/badge/skills/plural-pinelabs/pinelabs-online-mcp/pinelabs-mcp-tool-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.01303
Opus 5.5 $0.00000 $0.00521
Sonnet 5.5 $0.00000 $0.00261
Haiku 4.5 $0.00000 $0.00130

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

Security

Grade A, and why

pinelabs-mcp-tool-gen scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Generate complete MCP tool implementations from Pine Labs API documentation, curl commands, or request/response examples.
.agents/skills/pinelabs-mcp-tool-gen/SKILL.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pine Labs MCP Tool Generator

Generate complete MCP tool implementations from Pine Labs API documentation, curl commands, or request/response examples.

Input Formats

The user may provide any of:

  1. Pine Labs docs URL — fetch and extract endpoint details
  2. curl command — parse method, path, headers, body, and response
  3. Request/response JSON — infer params and types
  4. API specification — method, path, parameters

If the tool name is not provided or cannot be inferred, ask the user before proceeding.

Workflow

- [ ] Step 1: Parse input and extract API contract
- [ ] Step 2: Determine tool name and resource file
- [ ] Step 3: Implement tool function
- [ ] Step 4: Register tool in tools.py
- [ ] Step 5: Add Pydantic models (if needed)
- [ ] Step 6: Write unit tests
- [ ] Step 7: Run linter — fix errors
- [ ] Step 8: Run tests — fix errors

Step 1: Parse Input

Extract: HTTP method, endpoint path, required/optional parameters with types, and example response.

Map parameters:

  • str → validate_resource_id() or raw string param
  • int / float → typed parameter
  • dict → Pydantic model
  • list → typed list parameter
  • bool → boolean parameter

Step 2: Determine Tool Name and File

Naming conventions:

  • Fetch single: get_{resource} or get_{resource}_by_{field}
  • Fetch list: get_{resources} or list_{resources}
  • Create: create_{resource}
  • Update: update_{resource}
  • Delete: delete_{resource} or cancel_{resource}

Place in pkg/pinelabs/{resource_type}.py. Create new file only if needed.

Step 3: Implement Tool

import json
import logging

from fastmcp import FastMCP

from pkg.pinelabs.client import PineLabsClient, PineLabsAPIError
from pkg.pinelabs.utils.errors import (
    api_error_response,
    validation_error_response,
    unexpected_error_response,
)
from pkg.pinelabs.utils.validators import validate_resource_id

logger = logging.getLogger("pinelabs-mcp-server.{resource}")


def register_{resource}_tools(
    mcp: FastMCP, client: PineLabsClient
) -> None:

    @mcp.tool(
        name="tool_name",
        description=(
            "Action verb + what it does. "
            "When to use / prerequisites. "
            "Constraints or return format."
        ),
    )
    async def tool_name(required_param: str) -> str:
        rid = validate_resource_id(required_param, "param_name")

        try:
            result = await client.get(f"/path/{rid}")
            return json.dumps(result, indent=2)
        except PineLabsAPIError as e:
            return api_error_response(
                e.message, e.code, e.status_code
            )
        except Exception as e:
            return unexpected_error_response(e, "context")

Read the full file on GitHub · 176 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. 2mo ago First seen · 176 lines · 0 tokens per session scan A 0e358623c8b4

Subscribe to this mod's changes

pinelabs-mcp-tool-gen is a skill published in the GitHub repository plural-pinelabs/pinelabs-online-mcp (1 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,303 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

pinelabs-mcp-tool-gen compared with skills from other repositories

pinelabs-mcp-tool-gen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pinelabs-mcp-tool-genplural-pinelabs/pinelabs-online-mcpSkill13mo agoApache-2.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill68k2d agoApache-2.0A217Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.2kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.0kyesterdayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill5032d agoMITA105Claude Code, Codex
migrate-segw-to-raparc-mcp/arc-1Skill252yesterdayMITA106Claude Code