example-command

Parses slash-command arguments and executes the requested action with allowed tools.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Leap0920/Clean-Portfolio --skill example-command-leap0920
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: example-command
Source: https://github.com/Leap0920/Clean-Portfolio/tree/main/%25USERPROFILE%25/.openclaude/plugins/marketplaces/claude-plugins-official/plugins/example-plugin/skills/example-command
Command: npx skills add https://github.com/Leap0920/Clean-Portfolio --skill example-command-leap0920

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps demonstrate how an AI-powered slash command can accept user arguments, run a controlled workflow, and return results in a consistent way.

Core Features & Use Cases

  • Argument-driven behavior: Uses the user-provided arguments after a slash-command invocation to determine what to do next.
  • Tool allowlisting: Restricts execution to an approved set of tools for safer, more predictable operation.
  • Clear operational steps: Defines a simple loop of parse arguments, perform the action, and report results.
  • Use Case: Use it as a template for building your own skill that transforms natural-language inputs into a tool-driven action while keeping permissions explicit.

Quick Start

Invoke /example-command with one required argument and an optional second argument, then ask the skill to parse them, perform the requested action with the allowed tools, and report the results.

Frequently Asked Questions about example-command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse arguments from a slash command for deterministic execution?

To parse arguments from a slash command for deterministic execution, the skill reads required and optional parameters provided after invocation and passes them through a predefined workflow. It uses YAML frontmatter to enforce an allowed-tools list, ensuring predictable interactions.

What is a tool allowlist in assistant templating?

A tool allowlist in assistant templating is a predefined set of approved tools that restricts execution to specific functions. This ensures safer, more predictable operation by preventing the assistant from invoking unapproved actions during a slash command workflow.

How do I build a skill framework template that transforms natural-language inputs into tool-driven actions?

You can build a skill framework template by defining a simple loop: parse user arguments, perform the requested action using only allowed tools, and report results. This requires YAML frontmatter with name and description, plus argument hints for input mapping and deterministic execution.

Does a slash command skill require YAML frontmatter to function?

Yes, a slash command skill requires YAML frontmatter to function properly. The frontmatter must include the name and description fields, and it supports argument hints while enforcing the allowed-tools list for controlled, deterministic interaction and predictable execution.

Why does my slash command return inconsistent results?

Your slash command may return inconsistent results if it lacks a tool allowlist or proper argument parsing. Enforcing allowed-tools for deterministic interaction and defining clear operational steps ensures the workflow remains constrained and returns predictable outputs every time.