lightning-enable-mcp: Skill for Claude Code

.claude/skills/mcp-publish-prep/SKILL.md

mcp-publish-prep is a skill for Claude Code from refined-element/lightning-enable-mcp. It costs 21 tokens per session (437 once invoked), scanned A, original, MIT.

A release-preparation workflow for an MCP package, a software package that provides tools to an AI assistant.

In plain words
What is it for?
It is for preparing a new MCP release across .NET and Python packages, validating the server description, and checking the automated publishing setup.
Why use it?
It reduces release mistakes by checking matching versions, package metadata, changelog updates, builds, and publishing configuration.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is refined-element/lightning-enable-mcp's own configuration. It tells Claude Code how to work on lightning-enable-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 lightning-enable-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to refined-element/lightning-enable-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/refined-element/lightning-enable-mcp/main/.claude/skills/mcp-publish-prep/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/refined-element/lightning-enable-mcp

Made for: Claude Code.

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 mcp-publish-prep

README.md
[![agentmods](https://agentmods.dev/badge/skills/refined-element/lightning-enable-mcp/mcp-publish-prep/github.svg)](https://agentmods.dev/skills/refined-element/lightning-enable-mcp/mcp-publish-prep)
Your own site
<a href="https://agentmods.dev/skills/refined-element/lightning-enable-mcp/mcp-publish-prep"><img src="https://agentmods.dev/badge/skills/refined-element/lightning-enable-mcp/mcp-publish-prep/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 mcp-publish-prep

Your own site · 80×15
<a href="https://agentmods.dev/skills/refined-element/lightning-enable-mcp/mcp-publish-prep"><img src="https://agentmods.dev/badge/skills/refined-element/lightning-enable-mcp/mcp-publish-prep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 437 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.
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.00021 $0.00437
Opus 5.5 $0.00008 $0.00175
Sonnet 5.5 $0.00004 $0.00087
Haiku 4.5 $0.00002 $0.00044

Measured 22d ago against content hash 486a58bc1ba1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-publish-prep 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 22d 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.

.claude/skills/mcp-publish-prep/SKILL.md · 38 lines

What it actually says

Prepare the MCP package for a new release. Use $ARGUMENTS for the new version number (e.g., 1.5.0).

Steps

  1. Bump version in BOTH files (CRITICAL — must be simultaneous):

    • dotnet/src/LightningEnable.Mcp/LightningEnable.Mcp.csproj — update <Version>
    • python/lightning-enable-mcp/pyproject.toml — update version
    • dotnet/src/LightningEnable.Mcp/Services/UserAgent.cs — update FallbackVersion (UserAgentTests fails on drift)
    • These MUST match. CI/CD publishes both from the same version.
  2. Validate server.json:

    • Check description field is ≤100 characters (enforced by MCP Registry and CI)
    • Update version field if present (CI auto-updates via jq, but good to keep in sync)
  3. Update changelog if one exists

  4. Build verification:

    • Run dotnet build in dotnet/src/LightningEnable.Mcp/
    • Verify no build errors
  5. Review CI/CD:

    • Check .github/workflows/publish-mcp.yml is up to date
    • Verify secrets are configured: NUGET_API_KEY, PYPI_API_TOKEN, DOCKERHUB_USERNAME, DOCKERHUB_TOKEN

Publishing targets (all automated on push to main):

  • NuGet: https://www.nuget.org/packages/LightningEnable.Mcp
  • PyPI: https://pypi.org/project/lightning-enable-mcp
  • Docker Hub: https://hub.docker.com/r/refinedelement/lightning-enable-mcp
  • MCP Registry: https://registry.modelcontextprotocol.io

Output

Report the version bump, validation results, and build status. Remind the user to push to main to trigger CI/CD.

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. 22d ago Changed · +1 lines 486a58bc1ba1
  2. 2mo ago First seen · 37 lines · 21 tokens per session scan A abc9d601ebea

Subscribe to this mod's changes

mcp-publish-prep is a skill published in the GitHub repository refined-element/lightning-enable-mcp (9 stars, last pushed 11d ago), licensed MIT. It adds 21 tokens to every session and 437 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-31.

Related

Other skills, from other repositories

saturnzap

Non-custodial Lightning wallet for AI agents via sz CLI: send/receive sats, pay invoices, auto-pay HTTP 402 (L402), manage channels and liquidity. Use when: (1) paying for API access with Lightning, (2) creating or paying BOLT11 invoices, (3) checking wallet balance or channel health, (4) managing peers and channels.…

lqwdtech/SaturnZap · 98 tokens

lightning-memory

Decentralized agent memory with Nostr identity and Lightning L402 payments.

singularityjason/lightning-memory · 19 tokens

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts). The work commits land first, then the version bump, verification, and the release commit on top. Stops at "committed locally on main" — or, when the project releases…

cyanheads/coingecko-mcp-server · 109 tokens

release-and-publish

Ship a release end-to-end across every registry the project targets (npm, MCP Registry, GitHub Releases for .mcpb bundles, GHCR). Runs the final verification gate, fast-forwards main when the release rode a release PR, creates the annotated tag on the commit main now points at, pushes commits and tags, then publishes…

cyanheads/coingecko-mcp-server · 155 tokens

release-announcement

Write a release announcement — changelog, blog post, in-app note, or social post — that leads with user impact, names the audience, and includes upgrade/migration steps without filler.

paperclipai/paperclip · 42 tokens

release-notes

Generate user-facing release notes from tickets, PRDs, or changelogs. Creates clear, engaging summaries organized by category (new features, improvements, fixes). Use when writing release notes, creating changelogs, announcing product updates, or summarizing what shipped.

phuryn/pm-skills · 57 tokens