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.
curl -O https://raw.githubusercontent.com/piyushptiwari1/mcpkernel/main/.github/skills/search-and-fix/SKILL.mdgit clone --depth 1 https://github.com/piyushptiwari1/mcpkernelWrote 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.
[](https://agentmods.dev/skills/piyushptiwari1/mcpkernel/search-and-fix)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Use web search to find open issues in
piyushptiwari1/mcpkernel - Search similar MCP/security projects for resolved issues that may affect MCPKernel
- Analyze the codebase with
searchfor patterns matching known bugs
Step 2: Triage and Plan
- Prioritize findings: Critical > High > Medium > Low
- For each issue, identify the affected files in
src/mcpkernel/ - Create a brief implementation plan
Step 3: Implement Fix
- Read the target source files to understand current behavior
- Write a failing test in
tests/that reproduces the issue - Implement the minimal fix in
src/mcpkernel/ - Run:
python -m pytest tests/ -v --tb=short
Step 4: Validate
- Ensure all 106+ tests pass (including the new one)
- Run
ruff check src/ tests/for lint compliance - 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/
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.
- 10d ago First seen · 43 lines · 45 tokens per session scan A e88690fd4d30
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.
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.
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)…
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…
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…
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…
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.