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.
git clone --depth 1 https://github.com/phazurlabs/install-labsnpx agentmods add skills/phazurlabs/install-labs/agent-install-templatesWrote 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/phazurlabs/install-labs/agent-install-templates)<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>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.00087 | $0.07991 |
| Opus 5 | $0.00044 | $0.03995 |
| Sonnet 5 | $0.00017 | $0.01598 |
| Haiku 4.5 | $0.00009 | $0.00799 |
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')" 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);
});
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.
- 7d ago First seen · 1,157 lines · 87 tokens per session scan C f1d89f6dc76a
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.
Other skills, from other repositories
devops-engineer
Becomes a senior DevOps engineer who designs and implements CI/CD pipelines, infrastructure as code, monitoring systems, and deployment strategies. Use when the user needs build pipelines, container orchestration, cloud infrastructure, deployment automation, or observability setup. Do NOT use when writing application…
Infrastructure Development
Enterprise infrastructure patterns for AWS VPC, ECS, and PrivateLink deployments.
local-ci
Run GitHub Actions workflows locally with pause-on-failure for AI-agent-driven CI iteration.
local-ci
Run GitHub Actions CI locally with Local CI to validate changes before pushing. Use when testing, running checks, or validating code changes.
sandy
Run TypeScript scripts in sandboxed microVMs or Docker containers with AWS SDK access via IMDS. Use when investigating AWS resources, running read-only queries, or executing TypeScript automation that needs AWS credentials.
sandy-cli
Run TypeScript scripts in sandboxed microVMs or Docker containers with AWS SDK access via IMDS, through the sandy CLI. Use when investigating AWS resources, running read-only queries, or executing TypeScript automation that needs AWS credentials via shell commands.