Agent skill · Design & Presentation

gateway-script-design

Design gateway scripts as entry points for agentic coding. Use when creating CLI entry points for agents, designing subprocess-based agent invocation, or building script interfaces for agentic workflows.

majiayu000github.com/majiayu000GitHub ↗
claude-coderead-onlyMIT
Install
npx skills add majiayu000/claude-skill-registry --skill gateway-script-design-melodic-software-claude-code-plugins --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Allowed tools: ReadGrepGlob
Path: skills/agent/gateway-script-design-melodic-software-claude-code-plugins/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Gateway Script Design Skill Guide creation of gateway scripts - the entry points into agentic coding. ## When to Use - Creating new CLI entry points for agents - Building programmatic agent invocation - Designing composed workflows - Setting up automation scripts ## Core Concept > "This script is the gateway into agentic coding. It's distinctly different from any other type of code - it's calling an agent." Gateway scripts move you from conversation to automation. ## Three Gateway Patterns ### Pattern 1: Direct Prompt Execute ad-hoc prompts: ```python # adw_prompt.py @click.command() @click.argument("prompt") @click.option("--model", default="opus") def main(prompt: str, model: str): request = AgentPromptRequest( prompt=prompt, model=model, agent_name="oneoff" ) response = prompt_claude_code(request) ``` **Use case:** Quick one-offs, testing, exploration ### Pattern 2: Slash Command Wrapper Execute slash commands programmatically: ```python # adw_slash_command.py @click.command() @click.argument("command") @click.argument("args", nargs=-1) def main(command: str, args: tuple): request = AgentTemplateRequest( slash_command=f"/{command}", args=list(args) ) response = execute_templat

What's inside
Steps it walks through
  1. When to Use
  2. Core Concept
  3. Three Gateway Patterns
  4. Pattern 1: Direct Prompt
  5. Pattern 2: Slash Command Wrapper
  6. Pattern 3: Composed Workflow
  7. Design Checklist
  8. 1. CLI Interface
  9. 2. Unique Identification
  10. 3. Output Organization
  11. 4. Safe Environment
  12. 5. Error Handling
  13. 6. Rich Output
  14. Request/Response Models
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the gateway-script-design skill do?

Design gateway scripts as entry points for agentic coding. Use when creating CLI entry points for agents, designing subprocess-based agent invocation, or building script interfaces for agentic workflows.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill gateway-script-design-melodic-software-claude-code-plugins --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going