mcpkernel: Skill for Claude Code

.github/skills/search-and-fix/SKILL.md

search-and-fix is a skill for Claude Code, Codex from piyushptiwari1/mcpkernel. It costs 45 tokens per session (372 once invoked), scanned A, original, Apache-2.0.

A guided workflow for finding and fixing bugs or security problems in MCPKernel and similar repositories. It covers issue research, planning, code changes, tests, linting, and reporting.

In plain words
What is it for?
Use it to analyze GitHub issues, inspect related code, add a reproducing test, implement a fix, run pytest and Ruff, and summarize the result.
Why use it?
It gives investigations a repeatable path from discovering a problem to validating and documenting the fix.

Skill for Claude CodeCodex

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to piyushptiwari1/mcpkernel. 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/piyushptiwari1/mcpkernel/main/.github/skills/search-and-fix/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/piyushptiwari1/mcpkernel

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 search-and-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/piyushptiwari1/mcpkernel/search-and-fix/github.svg)](https://agentmods.dev/skills/piyushptiwari1/mcpkernel/search-and-fix)
Your own site
<a href="https://agentmods.dev/skills/piyushptiwari1/mcpkernel/search-and-fix"><img src="https://agentmods.dev/badge/skills/piyushptiwari1/mcpkernel/search-and-fix/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 search-and-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/piyushptiwari1/mcpkernel/search-and-fix"><img src="https://agentmods.dev/badge/skills/piyushptiwari1/mcpkernel/search-and-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 372 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.00045 $0.00372
Opus 5 $0.00023 $0.00186
Sonnet 5 $0.00009 $0.00074
Haiku 4.5 $0.00005 $0.00037

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

Security

Grade A, and why

search-and-fix 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 10d 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.

.github/skills/search-and-fix/SKILL.md · 43 lines

What it actually says

Search and Fix Workflow

When to Use

  • Finding and fixing bugs from GitHub issues
  • Addressing security vulnerabilities discovered in similar projects
  • Implementing improvements from issue analysis

Procedure

Step 1: Discover Issues

  1. Use web search to find open issues in piyushptiwari1/mcpkernel
  2. Search similar MCP/security projects for resolved issues that may affect MCPKernel
  3. Analyze the codebase with search for patterns matching known bugs

Step 2: Triage and Plan

  1. Prioritize findings: Critical > High > Medium > Low
  2. For each issue, identify the affected files in src/mcpkernel/
  3. Create a brief implementation plan

Step 3: Implement Fix

  1. Read the target source files to understand current behavior
  2. Write a failing test in tests/ that reproduces the issue
  3. Implement the minimal fix in src/mcpkernel/
  4. Run: python -m pytest tests/ -v --tb=short

Step 4: Validate

  1. Ensure all 106+ tests pass (including the new one)
  2. Run ruff check src/ tests/ for lint compliance
  3. Document the change for the changelog

Step 5: Report

Return a summary of what was found, fixed, and validated.

References

  • MCPKernel source: src/mcpkernel/
  • Tests: tests/
  • Policies: policies/
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. 10d ago First seen · 43 lines · 45 tokens per session scan A e88690fd4d30

Subscribe to this mod's changes

search-and-fix is a skill published in the GitHub repository piyushptiwari1/mcpkernel (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 45 tokens to every session and 372 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-31.

Related

Other skills, from other repositories

ffuf-claude-skill

Skill "ffuf-claude-skill" from Agent-Threat-Rule/agent-threat-rules, covering ffuf claude skill, when to use this skill and instructions.

Agent-Threat-Rule/agent-threat-rules · 14 tokens

argus

Argus — the all-seeing scanner suite. Six automated scanners for high-value web + LLM bug classes — CORS misconfiguration (origin reflection / null / credentialed read), CRLF & host-header injection, NoSQL injection (operator auth-bypass / $where blind), JWT attacks (alg:none / RS256→HS256 confusion / secret crack)…

Awarexone/Agentic-Bug-Hunter · 166 tokens

integrate-arcjet-guard-genkit

Integrate Arcjet security into a Genkit JS agent using @arcjet/guard — wrap ai.defineTool, put guardMiddleware on generate({ use }) for unwrapped / MCP / filesystem tools, and read a caller-owned id from generate({ context }). Use when asked to add Arcjet to genkit, rate limit its tools, screen inbound messages, or…

arcjet/arcjet-js · 89 tokens

integrate-arcjet-guard-langchain

Integrate Arcjet security into a LangChain JS createAgent using @arcjet/guard — wrap tool() / StructuredTool, put guardMiddleware on createAgent({ middleware }) for MCP / unwrapped tools, and read configurable.threadid for correlation. Use when asked to add Arcjet to langchain createAgent, rate limit its tools, screen…

arcjet/arcjet-js · 101 tokens

integrate-arcjet-guard-langgraph

Integrate Arcjet security into a LangGraph Graph API agent using @arcjet/guard — wrap tool() / StructuredTool, wrap ToolNode for unwrapped MCP tools, and read threadid for correlation. Use when asked to add Arcjet to a LangGraph StateGraph / ToolNode agent, rate limit its tools, screen inbound messages, or block…

arcjet/arcjet-js · 87 tokens

integrate-arcjet-guard-mastra

Integrate Arcjet security into a Mastra agent using @arcjet/guard — wrap createTool execute, screen input/output with a Processor tripwire, and gate unwrapped MCP/workspace tools with hooks. Use when asked to add Arcjet to a Mastra agent, rate limit its tools, screen inbound messages, or block prompt injection / PII.

arcjet/arcjet-js · 82 tokens