extend

extend is a skill for Claude Code from onurpolat05/ALBA. It costs 132 tokens per session (1,081 once invoked), scanned A, original, MIT.

An interactive extension command for an ALBA agent setup. It adds a skill, hook, rule, slash command, or MCP connection, then links the new capability to the agent's configuration.

In plain words
What is it for?
Use it to add a new agent capability, automate an event, define a behavior rule, create a command, or connect an external service such as Trello, Gmail, or Calendar.
Why use it?
It provides a guided way to expand an agent without manually creating every configuration file and connection.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/onurpolat05/alba/extend
Any agent
npx skills add onurpolat05/ALBA --skill extend
Clone the repo
git clone --depth 1 https://github.com/onurpolat05/ALBA

Made for: Claude Code.

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 extend

README.md
[![agentmods](https://agentmods.dev/badge/skills/onurpolat05/alba/extend.svg)](https://agentmods.dev/skills/onurpolat05/alba/extend)
Your own site
<a href="https://agentmods.dev/skills/onurpolat05/alba/extend"><img src="https://agentmods.dev/badge/skills/onurpolat05/alba/extend.svg" alt="Measured on agentmods" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,081 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00132 $0.01081
Opus 5 $0.00066 $0.00541
Sonnet 5 $0.00026 $0.00216
Haiku 4.5 $0.00013 $0.00108

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

Security

Grade A, and why

extend 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 5d 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.

.claude/skills/extend/SKILL.md · 117 lines

How it starts

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

ALBA Extend

Add new capabilities to the agent system. Interactive and collaborative.

Step 1: Identify

Ask: "What would you like to add to your agent?"

Types:

  1. Skill - New capability (research, content creation, task automation...)
  2. Hook - Automated event response (session start, error logging...)
  3. Rule - Behavioral guideline (code standards, communication style...)
  4. Command - Custom /slash command
  5. MCP Integration - Connect external tool (Trello, Gmail, Calendar...)

Step 2: Build

Skills

  1. Understand: What task? What inputs/outputs? What tools?
  2. Check templates/skills/ for existing templates
  3. Create .claude/skills/[name]/SKILL.md with frontmatter:
    ---
    name: [skill-name]
    description: [what it does]. Use when user says "x", "y". Do NOT use for [z].
    context: fork          # fork = subagent (protects context), inline = main context
    background: false      # fork only: wait for the result in this turn (fork defaults to background)
    allowed-tools: [tools]
    ---
    
    The description is the only field that decides whether the skill fires at the right moment — a bare one-line summary will not trigger reliably. Full field reference: templates/skills/SKILL-TEMPLATE.md.
  4. Add to CLAUDE.md Skills table
  5. Test immediately

Hooks

  1. Identify the event. Common ones: SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PostToolUseFailure, Stop, SubagentStop, PreCompact, PostCompact, SessionEnd. Claude Code v2.1.220 defines 30 events — see templates/hooks/README-hooks.md for the full list and each one's output contract.
  2. Define what should happen when triggered
  3. Create .claude/hooks/[name].sh and make executable (chmod +x)
  4. Add to .claude/settings.json — note the nested hooks array; skipping the inner level is the most common reason a newly added hook never runs:
    {
      "hooks": {
        "[EventType]": [
          {
            "matcher": "Bash",
            "hooks": [
              {
                "type": "command",
                "command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/[name].sh",
                "timeout": 5
              }
            ]
          }
        ]
      }
    }
    
    matcher only applies to tool events. Use ${CLAUDE_PROJECT_DIR} rather than a relative path, or the hook breaks for sessions started from a subdirectory.
  5. Test by triggering the event

Read the full file on GitHub · 117 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. 5d ago First seen · 117 lines · 132 tokens per session scan A e52bc28ef4e6

Subscribe to this mod's changes

extend is a skill published in the GitHub repository onurpolat05/ALBA (20 stars, last pushed 1mo ago), licensed MIT. It adds 132 tokens to every session and 1,081 once invoked, about $0.0007 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-30.

Related

Other skills, from other repositories

vibe-research

Deep research and market validation for app ideas. Use when starting a new project, validating an idea, or when the user says "research my idea", "validate my app", or "help me start a new project".

KhazP/vibe-coding-prompt-template · 49 tokens

kn-research

Use when you need to understand existing code, find patterns, search project knowledge, investigate current external facts, or explore a large codebase before implementation.

knowns-dev/knowns · 33 tokens

kn-init

Use at the start of a new session to read project docs, understand context, and see current state.

knowns-dev/knowns · 23 tokens

trellis-brainstorm

Guides collaborative requirements discovery before implementation. Creates task directory, seeds PRD, asks high-value questions one at a time, researches technical choices, and converges on MVP scope. Use when requirements are unclear, there are multiple valid approaches, or the user describes a new feature or complex…

mindfold-ai/Trellis · 65 tokens

trellis-session-insight

Reach into past AI conversation history through the trellis mem CLI. Use whenever the user asks 'how did we solve X last time', 'have we discussed this before', 'what was the decision on X', 'remind me what we did in this task', '上次怎么解的', '之前讨论过吗', '想起一段对话', or when starting a brainstorm that overlaps prior work…

mindfold-ai/Trellis · 140 tokens

trellis-channel

Use Trellis channel for live multi-agent collaboration, spawned workers, cross-agent review, progress inspection, forum channels, and channel log debugging.

mindfold-ai/Trellis · 32 tokens