create-legacy-command
Legacy Command & Workflow Scaffold Generator
You are tasked with generating a flat-file execution routine, such as an Antigravity Workflow, an Antigravity Rule, or a legacy Claude command.
Execution Steps:
-
Information Prompt: These flat-file formats do not have complex directories or YAML frontmatter dependencies. Because of their simplicity, you may use standard
echoandbashcommands to write them. You do NOT need the Python scaffold script for this specific action. -
Gather Requirements: Ask the user what specific type of flat-file routine they need:
- A Workspace Rule (for context)
- A Workspace Workflow (for trajectory steps, e.g.
// turbotags) - A legacy Claude
/command
-
Scaffold the Routine: Using bash file creation tools:
- Create the file in the correct specific location (e.g.
.agent/workflows/,.agent/rules/, or.claude/commands/). - Ensure the file strictly stays under the 12,000 character size limit constraint.
- Write the sequence of steps based on the user's intent.
- Create the file in the correct specific location (e.g.
-
Confirmation: Print a success message showing the file location. Explain the difference between this flat-file approach and the richer
Agent Skillsstandard. -
If Iterating, Use a Disciplined Loop:
- Baseline first.
- One change per iteration.
- Keep/discard decision each run.
- Crash/timeout logging.
- Track iterations in
evals/results.tsvif this command is being benchmarked.
Next Actions
- Continuous Improvement: Run
./scripts/benchmarking/run_loop.py --results-dir evals/experimentswhen calibrating trigger text. - Review Loop: Run
./scripts/eval-viewer/generate_review.pyto inspect iterative outcomes. - Audit: Offer to run
audit-pluginto validate the generated artifacts.
More from richfrem/agent-plugins-skills
markdown-to-msword-converter
Converts Markdown files to one MS Word document per file using plugin-local scripts. V2 includes L5 Delegated Constraint Verification for strict binary artifact linting.
52excel-to-csv
>
32zip-bundling
Create technical ZIP bundles of code, design, and documentation for external review or context sharing. Use when you need to package multiple project files into a portable `.zip` archive instead of a single Markdown file.
29learning-loop
(Industry standard: Loop Agent / Single Agent) Primary Use Case: Self-contained research, content generation, and exploration where no inner delegation is required. Self-directed research and knowledge capture loop. Use when: starting a session (Orientation), performing research (Synthesis), or closing a session (Seal, Persist, Retrospective). Ensures knowledge survives across isolated agent sessions.
26ollama-launch
Start and verify the local Ollama LLM server. Use when Ollama is needed for RLM distillation, seal snapshots, embeddings, or any local LLM inference — and it's not already running. Checks if Ollama is running, starts it if not, and verifies the health endpoint.
26spec-kitty-checklist
A standard Spec-Kitty workflow routine.
26