Agent skill

Arg Parser Generator

by revfactory in revfactory/harness-100

CLI 도구의 인자 파서 구조를 체계적으로 설계하고 코드를 생성하는 방법론. An agent skill from revfactory/harness-100.

Apache-2.0Auto-check passed

Install Arg Parser Generator

skills CLI
$ npx skills add revfactory/harness-100 --skill arg-parser-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install revfactory/harness-100 arg-parser-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ko/40-cli-tool-builder/.claude/skills/arg-parser-generator .claude/skills/arg-parser-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
arg-parser-generator
GitHub stars
1.3k
Token cost
~952 tokens
SKILL.md length
143 words
Files
1
Skills in repo
464
Repo updated
First seen
Licence
Apache-2.0

At a glance

CLI 도구의 인자 파서 구조를 체계적으로 설계하고 코드를 생성하는 방법론. An agent skill from revfactory/harness-100.

  • SKILL.md covers 대상 에이전트, CLI 인자 유형 분류, 서브커맨드 설계 패턴 and 옵션 네이밍 규칙, plus 3 more sections
  • Needs API_KEY

What it does

Arg Parser Generator is an agent skill from revfactory/harness-100. CLI 도구의 인자 파서 구조를 체계적으로 설계하고 코드를 생성하는 방법론. 'CLI 인자 설계', '옵션 구조', '서브커맨드 설계', '인자 파서 생성', '도움말 설계' 등 CLI 인자 체계 설계 시 사용한다. 단, GUI 인터페이스 설계, TUI 프레임워크 통합은 이 스킬의 범위가 아니다.

Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is Apache-2.0.

Example prompts

  • “CLI 인자 설계”
  • “/arg-parser-generator”

Requirements

  • Python 3
  • Node.js
  • A credential in API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python, javascript and go).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Arg Parser Generator loads about 952 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 143 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~952

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 143 words, ~952 tokens.

Download SKILL.mdSave it as .claude/skills/arg-parser-generator/SKILL.md (or your agent's skills folder).
name
arg-parser-generator
description
CLI 도구의 인자 파서 구조를 체계적으로 설계하고 코드를 생성하는 방법론. 'CLI 인자 설계', '옵션 구조', '서브커맨드 설계', '인자 파서 생성', '도움말 설계' 등 CLI 인자 체계 설계 시 사용한다. 단, GUI 인터페이스 설계, TUI 프레임워크 통합은 이 스킬의 범위가 아니다.

Arg Parser Generator — CLI 인자 파서 설계 + 코드 생성

command-designer와 core-developer의 인자 파서 설계를 강화하는 스킬.

대상 에이전트

  • command-designer — 명령 체계와 옵션 구조를 설계한다
  • core-developer — 인자 파서 코드를 구현한다

CLI 인자 유형 분류

유형형식예시
위치 인자<arg>convert input.json
필수 옵션--name VALUE--output out.yaml
선택 옵션[--name VALUE][--indent 2]
플래그[--flag][--verbose]
다중 값--name V1 V2--files a.txt b.txt
열거형--type {a,b,c}--format {json,yaml}
환경변수$ENV_VAR$API_KEY

서브커맨드 설계 패턴

패턴 1: 동사형 (CRUD)
mytool create <resource> [options]
mytool list [resource] [--filter]
mytool get <id> [--format]
mytool update <id> [options]
mytool delete <id> [--force]
패턴 2: 리소스형 (kubectl 스타일)
mytool user list
mytool user create --name "name"
mytool project deploy --env prod
패턴 3: 파이프라인형 (Unix 철학)
mytool parse input.json | mytool transform --schema s.yaml | mytool output

옵션 네이밍 규칙

1. 짧은/긴 옵션 쌍: -o / --output
2. 불리언 + 부정: --color / --no-color
3. 일관된 명사: --output-dir (동사 X → --write-to X)
4. 축약 가능: --config → --cfg (혼동 없을 때)

금지 패턴:
- -h (help 예약), -V (version 예약)
- 대문자 단축옵션 (-A, -B) — 혼동 유발
- 너무 긴 옵션 (--output-directory-path)

언어별 파서 라이브러리 + 보일러플레이트

Python (typer — 권장)
python
import typer
from typing import Optional
from enum import Enum

app = typer.Typer(help="파일 변환 CLI")

class Format(str, Enum):
    json = "json"
    yaml = "yaml"
    toml = "toml"

@app.command()
def convert(
    input_file: str = typer.Argument(..., help="입력 파일"),
    from_format: Format = typer.Option(..., "--from", "-f", help="입력 형식"),
    to_format: Format = typer.Option(..., "--to", "-t", help="출력 형식"),
    output: Optional[str] = typer.Option(None, "--output", "-o", help="출력 파일"),
    indent: int = typer.Option(2, "--indent", help="들여쓰기"),
    verbose: bool = typer.Option(False, "--verbose", "-v", help="상세 로그"),
):
    """파일 형식을 변환합니다."""
    ...

if __name__ == "__main__":
    app()
Node.js (commander)
javascript
const { Command } = require('commander');
const program = new Command();

program
  .name('mytool')
  .description('파일 변환 CLI')
  .version('1.0.0');

program
  .command('convert <input>')
  .option('-f, --from <format>', '입력 형식', 'json')
  .option('-t, --to <format>', '출력 형식', 'yaml')
  .option('-o, --output <file>', '출력 파일')
  .action((input, options) => { ... });

program.parse();
Go (cobra)
go
var convertCmd = &cobra.Command{
    Use:   "convert [input]",
    Short: "파일 형식 변환",
    Args:  cobra.ExactArgs(1),
    RunE: func(cmd *cobra.Command, args []string) error {
        from, _ := cmd.Flags().GetString("from")
        to, _ := cmd.Flags().GetString("to")
        // ...
        return nil
    },
}

func init() {
    convertCmd.Flags().StringP("from", "f", "json", "입력 형식")
    convertCmd.Flags().StringP("to", "t", "yaml", "출력 형식")
    convertCmd.Flags().StringP("output", "o", "", "출력 파일")
}

도움말 출력 표준

Usage: mytool <command> [options]

Commands:
  convert    파일 형식 변환
  validate   파일 유효성 검사
  diff       두 파일 비교

Options:
  -h, --help       도움말 표시
  -V, --version    버전 표시
  -v, --verbose    상세 출력
  --no-color       색상 비활성화

Examples:
  mytool convert input.json --to yaml
  mytool validate schema.json data.json

Environment:
  MYTOOL_CONFIG    설정 파일 경로

종료 코드 표준

코드의미사용
0성공정상 완료
1일반 오류실행 중 오류
2인자 오류잘못된 인자/옵션
126권한 없음파일 접근 불가
127의존성 없음필요한 도구 미설치
130사용자 중단Ctrl+C

© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in ko/40-cli-tool-builder/.claude/skills/arg-parser-generator of revfactory/harness-100.

Open the folder on GitHubat commit 8e8d35c

Compare with similar skills

Arg Parser Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Arg Parser Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Arg Parser Generator this skillrevfactory/harness-1001.3k—~952Automated safety check: PassApache-2.0
Generatealirezarezvani/claude-skills28k1 repos~1.1kAutomated safety check: PassMIT
Fal Generatenexu-io/open-design100k—~306Automated safety check: PassApache-2.0
Video Generationbytedance/deer-flow83k3 repos~1.4kAutomated safety check: PassMIT
Image Generationonyx-dot-app/onyx32k1 repos~1.7kAutomated safety check: PassCustom licence
Structured Image Generationbytedance/deer-flow83k5 repos~2.9kAutomated safety check: PassMIT

Similar skills

  • Generate

    alirezarezvani/claude-skills

    Generate Playwright tests. An agent skill from alirezarezvani/claude-skills.

    28k GitHub starsUsed in 1 repo~1.1k tokens
    Testing & QAAuto-check passed
  • Fal Generate

    nexu-io/open-design

    Generate images and videos using fal.ai AI models. An agent skill from nexu-io/open-design.

    100k GitHub stars~306 tokensUpdated today
    Media & CreativeAuto-check passed
  • Video Generation

    bytedance/deer-flow

    Generates short videos from a structured JSON prompt, optionally guided by a reference image used as the first or last frame.

    83k GitHub starsUsed in 3 repos~1.4k tokens
    Media & CreativeAuto-check passed
  • Image Generation

    onyx-dot-app/onyx

    Generate or edit raster images (photos, illustrations, textures, sprites, mockups, logos, infographics) using the workspace's configured image-generation provider via onyx-cli image.

    32k GitHub starsUsed in 1 repo~1.7k tokens
    Media & CreativeAuto-check passed
  • Structured Image Generation

    bytedance/deer-flow

    Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.

    83k GitHub starsUsed in 5 repos~2.9k tokens
    Media & CreativeAuto-check passed
  • Generate Nanobanana

    sickn33/agentic-awesome-skills

    Generate and edit images/video with Google's Gemini media models (Nano Banana 2/Pro, Gemini Omni Flash), with cost-approval gates, reference-image support, and a prompt/output log per call.

    47k GitHub starsUsed in 1 repo~2.8k tokens
    Media & CreativeAuto-check: notes

More from revfactory/harness-100

All 464 skills in this repo
  • Anti Bot Analyzer

    revfactory/harness-100

    A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • API Error Design Patterns

    revfactory/harness-100

    Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed
  • API Security Checklist

    revfactory/harness-100

    Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.

    1.3k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Audience Segmentation

    revfactory/harness-100

    Audience segmentation skill used by the analyst and curator agents.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Audio Storytelling

    revfactory/harness-100

    Audio storytelling skill used by the podcast scriptwriter and show note editor.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Arg Parser Generator

What does Arg Parser Generator do?

CLI 도구의 인자 파서 구조를 체계적으로 설계하고 코드를 생성하는 방법론. An agent skill from revfactory/harness-100. Arg Parser Generator is an agent skill from revfactory/harness-100. CLI 도구의 인자 파서 구조를 체계적으로 설계하고 코드를 생성하는 방법론.

How do I install Arg Parser Generator in Claude Code?

Run `npx skills add revfactory/harness-100 --skill arg-parser-generator -a claude-code`. Or copy the skill folder (ko/40-cli-tool-builder/.claude/skills/arg-parser-generator in revfactory/harness-100) into .claude/skills/arg-parser-generator in your project. Claude Code loads it when a task matches its description.

How do I install Arg Parser Generator in Codex?

Run `npx skills add revfactory/harness-100 --skill arg-parser-generator -a codex`. Or copy the skill folder (ko/40-cli-tool-builder/.claude/skills/arg-parser-generator in revfactory/harness-100) into .agents/skills/arg-parser-generator in your project. Codex loads it when a task matches its description.

Can I use Arg Parser Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill arg-parser-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/arg-parser-generator, .gemini/skills/arg-parser-generator, .github/skills/arg-parser-generator and .opencode/skills/arg-parser-generator in your project.

What does Arg Parser Generator need to run?

Going by SKILL.md and its folder, Arg Parser Generator needs credentials named API_KEY. Our summary lists: Python 3; Node.js; A credential in API_KEY.

Does Arg Parser Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Arg Parser Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Arg Parser Generator use?

Arg Parser Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Arg Parser Generator use?

About 952 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Arg Parser Generator?

Skills that share tags, products or a category with Arg Parser Generator: Generate (alirezarezvani/claude-skills, 28k stars), Fal Generate (nexu-io/open-design, 100k stars), Video Generation (bytedance/deer-flow, 83k stars) and Image Generation (onyx-dot-app/onyx, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Arg Parser Generator?

revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.

Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.