agent-install-templates

agent-install-templates is a skill for Claude Code from phazurlabs/install-labs. It costs 87 tokens per session (7,991 once invoked), scanned C, original, Apache-2.0.

A collection of ready-to-copy project templates for distributing AI agents and automations. It includes examples for MCP servers, Claude Code plugins, deployment files, install scripts, and release setup.

In plain words
What is it for?
Use it to scaffold an MCP server, plugin, deployment project, Docker setup, install script, or release workflow.
Why use it?
It removes the need to design common package files from scratch. The examples show how to organize dependencies, builds, commands, and publishing settings.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is COPY src/ ./src/.

Part of the install-labs plugin — 12 skills, 10 commands shipped together

Good fit Use it to scaffold an MCP server, plugin, deployment project, Docker setup, install script, or release workflow.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/phazurlabs/install-labs
agentmods
npx agentmods add skills/phazurlabs/install-labs/agent-install-templates

Made for: Claude Code.

Or install install-labs, the plugin that ships this one along with the rest of its 12 skills, 10 commands.

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 agent-install-templates

README.md
[![agentmods](https://agentmods.dev/badge/skills/phazurlabs/install-labs/agent-install-templates.svg)](https://agentmods.dev/skills/phazurlabs/install-labs/agent-install-templates)
Your own site
<a href="https://agentmods.dev/skills/phazurlabs/install-labs/agent-install-templates"><img src="https://agentmods.dev/badge/skills/phazurlabs/install-labs/agent-install-templates.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,991 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00087 $0.07991
Opus 5 $0.00044 $0.03995
Sonnet 5 $0.00017 $0.01598
Haiku 4.5 $0.00009 $0.00799

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

Security

Grade C, and why

agent-install-templates scanned grade C with 2 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 7d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

# curl -fsSL https://raw.githubusercontent.com/my-org/my-agent/main/install.sh | bash

Makes network callslowCapability

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

CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/health')"
skills/agent-install-templates/SKILL.md · 1,157 lines

How it starts

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

AI Agent Install Templates

Production-ready templates for packaging AI agents and automations as installable software. Every template is complete, annotated, and ready to copy into a project.


1. MCP Server (Node.js / TypeScript)

package.json

{
  "name": "@my-org/my-agent-mcp",
  "version": "0.1.0",
  "description": "MCP server that exposes my-agent capabilities as tools",
  "license": "MIT",
  "author": "my-org",
  "type": "module",
  "bin": {
    "my-agent-mcp": "./dist/index.js"
  },
  "main": "./dist/index.js",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "tsc",
    "dev": "tsc --watch",
    "start": "node dist/index.js",
    "lint": "eslint src/",
    "prepublishOnly": "npm run build"
  },
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.12.0",
    "zod": "^3.23.0"
  },
  "devDependencies": {
    "@types/node": "^22.0.0",
    "typescript": "^5.7.0",
    "eslint": "^9.0.0"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "keywords": [
    "mcp",
    "model-context-protocol",
    "ai-agent"
  ]
}

tsconfig.json

{
  "compilerOptions": {
    "target": "ES2022",
    "module": "Node16",
    "moduleResolution": "Node16",
    "outDir": "./dist",
    "rootDir": "./src",
    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "declaration": true,
    "sourceMap": true
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist"]
}

src/index.ts

#!/usr/bin/env node

// MCP Server skeleton — registers tools that an LLM client can invoke.
// The MCP SDK handles stdio transport, JSON-RPC framing, and capability negotiation.

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";

// --- Server instance ---------------------------------------------------
const server = new McpServer({
  name: "my-agent-mcp",       // Appears in client UI (Claude Desktop, etc.)
  version: "0.1.0",           // Keep in sync with package.json
});

// --- Tool: greet -------------------------------------------------------
// Replace this with your agent's real capability.
// Each tool gets a name, description (shown to the LLM), input schema, and handler.
server.tool(
  "greet",                                        // Tool name (lowercase, hyphen-separated)
  "Generate a greeting for the given name",       // LLM-facing description
  {
    name: z.string().describe("Name to greet"),   // Zod schema = JSON Schema for the LLM
  },
  async ({ name }) => {
    // Your agent logic goes here.
    // Return content as an array of text/image/resource blocks.
    return {
      content: [
        { type: "text", text: `Hello, ${name}! Welcome to my-agent.` },
      ],
    };
  }
);

// --- Tool: analyze (example with structured output) --------------------
server.tool(
  "analyze",
  "Analyze the provided text and return key insights",
  {
    text: z.string().describe("Text to analyze"),
    depth: z.enum(["quick", "thorough"]).default("quick").describe("Analysis depth"),
  },
  async ({ text, depth }) => {
    // Replace with your real analysis logic.
    const wordCount = text.split(/\s+/).length;
    const result = {
      wordCount,
      depth,
      summary: `Analyzed ${wordCount} words at ${depth} depth.`,
    };
    return {
      content: [
        { type: "text", text: JSON.stringify(result, null, 2) },
      ],
    };
  }
);

// --- Start server ------------------------------------------------------
async function main() {
  const transport = new StdioServerTransport();
  await server.connect(transport);
  // Server is now listening on stdin/stdout. The MCP client drives the conversation.
}

main().catch((error) => {
  console.error("Fatal:", error);
  process.exit(1);
});

Read the full file on GitHub · 1,157 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. 7d ago First seen · 1,157 lines · 87 tokens per session scan C f1d89f6dc76a

Subscribe to this mod's changes

agent-install-templates is a skill published in the GitHub repository phazurlabs/install-labs (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 7,991 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.