vichannnnn/ccstart/create-script
Claude Code and agent skill by vichannnnn/ccstart
- community
Checking that the SKILL.md file is still in the repository.
Codify discovered processes into standalone, reusable Python scripts. Use when the user has figured out a process (API integration, data pipeline, automation task) and wants to turn it into a reusable script, or when the user says "/create-script".
Install
npx vskill@latest install vichannnnn/ccstart/create-scriptSKILL.md
Create Script Skill
Turn discovered processes into production-ready Python scripts with CLI interfaces.
When to Use
- After exploring an API and figuring out the request flow
- After solving a data transformation problem
- When automating a manual process
- When the user wants to capture a working solution as a reusable tool
Workflow
Step 1: Gather Context
Review the conversation to identify:
- What process was discovered or solved
- What API endpoints, data sources, or operations are involved
- What worked and what didn't (avoid repeating mistakes)
Step 2: Identify Requirements
Ask about or determine:
- Inputs: What data does the script need? (files, API keys, parameters)
- Outputs: What should the script produce? (files, stdout, API calls)
- Configuration: What might change between runs? (URLs, credentials, options)
- Error cases: What can go wrong and how should it be handled?
Step 3: Design Script Structure
Plan the script organization:
- Break logic into focused functions
- Identify what should be configurable via CLI arguments
- Determine what should come from environment variables (secrets)
- Plan the main flow and error handling
Step 4: Generate the Script
Create a Python script following the template structure below. Include:
- Clear CLI interface with help text
- Environment variable handling for secrets
- Proper error handling and exit codes
- Logging for visibility into what's happening
Step 5: Provide Usage Examples
After generating the script:
- Show example invocations
- Document required environment variables
- Suggest next steps (testing, scheduling, extending)
Script Template
CLI Design Guidelines
Use argparse (standard library)
Prefer argparse over external dependencies like click:
- Zero dependencies means easier distribution
- Familiar to most Python developers
- Sufficient for most CLI needs
Argument Patterns
Positional arguments for required, obvious inputs:
Flags for optional behavior:
Environment variable fallbacks for secrets:
Subcommands for Multi-Action Scripts
Best Practices
Environment Variables
- Use for secrets (API keys, passwords, tokens)
- Use for environment-specific config (URLs, paths)
- Document all required/optional env vars in help text
- Validate early and fail fast with clear error messages
Error Handling
- Catch specific exceptions, not bare
except: - Log errors before exiting
- Use appropriate exit codes (0=success, 1=error, 130=interrupted)
- Include context in error messages
Output
- Default to stdout for piping compatibility
- Use
--outputflag for file output - Support
-as stdout alias - Use JSON for structured output, plain text for human output
Logging
- Use
loggingmodule, notprint() - Default to INFO level,
--verbosefor DEBUG - Include timestamps in format
- Log to stderr so stdout stays clean for data
Examples
API Client Script
Data Transformation Script
After Script Creation
- Test the script with sample data
- Make executable:
chmod +x script.py - Consider adding to a
scripts/directory in the project - Document in README if it's a project utility
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplate/claude/skills/create-script/SKILL.md
Popularity
- Repository stars
- 53
- Repository forks
- 7
- Repository npm downloads, 7 days
- 3
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 16 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vichannnnn/ccstart/create-script)