Borrowing it
Nothing to install: this file belongs to connyay/starlark-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.
curl -O https://raw.githubusercontent.com/connyay/starlark-mcp/main/.claude/skills/create-extension/SKILL.mdgit clone --depth 1 https://github.com/connyay/starlark-mcpWrote 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/connyay/starlark-mcp/create-extension)<a href="https://agentmods.dev/skills/connyay/starlark-mcp/create-extension"><img src="https://agentmods.dev/badge/skills/connyay/starlark-mcp/create-extension/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/connyay/starlark-mcp/create-extension"><img src="https://agentmods.dev/badge/skills/connyay/starlark-mcp/create-extension.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.00039 | $0.02405 |
| Opus 5.5 | $0.00016 | $0.00962 |
| Sonnet 5.5 | $0.00008 | $0.00481 |
| Haiku 4.5 | $0.00004 | $0.00241 |
Grade A, and why
create-extension 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.
How it starts
The opening of the file, as written. The whole thing — 359 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Extension
Creates a new Starlark-based MCP extension for the starlark-mcp server.
Instructions
When the user requests a new extension:
-
Gather Requirements
- Ask the user for the extension name (lowercase with underscores)
- Ask what tools/capabilities the extension should provide
- Determine if the extension needs:
- External API access (HTTP calls)
- Database access (SQLite, PostgreSQL)
- File system operations
- System commands (via
exec.run())
-
Choose Implementation Approach
- IMPORTANT: Default to using existing Starlark modules first
- Use
exec.run()for CLI tools (docker, git, kubectl, etc.) - this is almost always the right choice - Use
httpmodule for REST APIs - Use existing
sqliteorpostgresmodules for databases - Only create new Rust modules if:
- The CLI tool doesn't exist or lacks JSON output
- You need direct library access for performance
- The existing modules don't provide required functionality
- Remember:
exec.run()is simple, fast to implement, and what users already have installed
-
Create Extension File
- Create
extensions/{name}.starfile - Follow the standard Starlark MCP extension structure
- Create
-
Extension Structure
# Tool handler functions def tool_name(params): """Tool description""" # Extract parameters param = params.get("param_name", "default") # Validate inputs if not param: return error_response("param_name is required") # Implement logic result = do_something(param) # Return MCP response return { "content": [{"type": "text", "text": result}], } # Helper functions def error_response(message): """Create an error response""" return { "content": [{"type": "text", "text": "Error: " + message}], "isError": True, } # Extension definition def describe_extension(): """Define the extension""" return Extension( name = "extension_name", version = "1.0.0", description = "Extension description", tools = [ Tool( name = "tool_name", description = "Tool description", parameters = [ ToolParameter( name = "param_name", param_type = "string", required = True, description = "Parameter description", ), ], handler = tool_name, ), ], )
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.
- 2mo ago First seen · 359 lines · 39 tokens per session scan A 63ff92d61e69
create-extension is a skill published in the GitHub repository connyay/starlark-mcp (2 stars, last pushed 9mo ago), licensed MIT. It adds 39 tokens to every session and 2,405 once invoked, about $0.0002 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.
create-extension compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| create-extensionconnyay/starlark-mcp | Skill | 2 | 9mo ago | MIT | A | 39 | Claude Code |
| opik-diagnosecomet-ml/opik-mcp | Skill | 225 | yesterday | Apache-2.0 | A | 187 | Claude Code |
| ue-mcp-epic-routingdb-lyon/ue-mcp | Skill | 480 | yesterday | MIT | A | 81 | Claude Code, Codex |
| qa-knowledgegriddynamics/rosetta | Skill | 373 | yesterday | Apache-2.0 | A | 32 | Claude Code, Codex |
| apitapn1byn1kt/apitap | Skill | 131 | 18d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| frontmcp-setupagentfront/frontmcp | Skill | 148 | 2d ago | Apache-2.0 | A | 176 | Claude Code, Codex |
| x-use-reviewihuzaifashoukat/x-use | Skill | 181 | 5d ago | MIT | A | 56 | Claude Code |