Skip to content
Back to skills

Extension

ASecurity

Creates a project agent that a viber build runs at its close and registers it in build.extensions of .claude/viber.yml. User-only.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 7, 2026
ai-agentsrustgobashgit

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add p2p2sp/p2p2.claude --skill extension --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Extension?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Extension
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/p2p2sp-extension/badge)](https://www.skillsdirectory.com/skills/p2p2sp-extension)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: extension
description: Creates a project agent that a viber build runs at its close and registers it in build.extensions of .claude/viber.yml. User-only.
argument-hint: "[agent name]"
allowed-tools: Read, Write(./.claude/agents/**), Bash(${CLAUDE_SKILL_DIR}/scripts/extension.sh:*)
user-invocable: true
disable-model-invocation: true
model: sonnet
---

# extension

One agent file in `.claude/agents/`, one entry in `build.extensions`. Arguments: $ARGUMENTS

```!
"${CLAUDE_SKILL_DIR}/scripts/extension.sh"
```

The lines above are trusted: never open `.claude/viber.yml` or list `.claude/agents/` yourself.

- `CONFIG=no-file` -> name `/viber:setup` and stop.
- `CONFIG=no-key` -> say `.claude/viber.yml` needs an empty `extensions:` key under `build:` and stop.

`<name>` is the argument: lowercase letters, digits and hyphens, the first one a letter or a digit.

## Write

Never write over an agent `AGENTS=` lists: with such a `<name>`, go to Register.

Ask in one prose message, then end the turn:

- the name, when the argument gave none
- what the agent produces
- the repository-relative paths it writes
- the language of those files
- what it reads beyond the spec and the files the build changed

Read `${CLAUDE_SKILL_DIR}/templates/agent.md` and `Write` it to `.claude/agents/<name>.md`, each `{{...}}` replaced from the answers: concrete paths, no angle bracket in `description:`. Keep every other line as it stands and write no other file.

## Register

```
"${CLAUDE_SKILL_DIR}/scripts/extension.sh" add "<name>"
```

- `STATUS=added` -> the agent runs as a step of its own; `parallel: true` under its entry runs it together with the parallel entries next to it.
- `STATUS=present` -> it was registered already.
- Any other `STATUS=` -> show the line and stop.

End on the paths left uncommitted in the work tree and on one line: a new agent file loads at session start, so reload the session before a build.

Files in this skill

  • SKILL.md5.1 KB
  • references/authoring.md3.1 KB
  • scripts/extension.sh8.2 KB
  • templates/extension.md3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.