Agent skill
shared-auxiliary-scripts
Auxiliary script management rules for Ralph agents. Use proactively when creating helper scripts in .claude/session/.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/shared-auxiliary-scripts
SKILL.md
Auxiliary Script Management
"Auxiliary scripts help with automation – temporary scripts auto-cleanup after 1 hour."
When to Use This Skill
Use when:
- Creating helper scripts in
.claude/session/ - Managing script cleanup and retention
- Understanding script classification
Use proactively:
- Document reusable scripts in AGENT.md
- Use descriptive naming for scripts
Quick Start
Example 2: Reusable script template
# Script: developer-deployment.ps1
# Purpose: Deploy build artifacts to staging
# Created: 2026-01-23
# Used by: developer
param([string]$Environment)
# Script logic here
Example 3: Adding to config
$Script:AuxiliaryScripts.Reusable = @{
"developer-deployment.ps1" = @{
Purpose = "Deploy build artifacts"
Created = "2026-01-23"
UsedBy = @("developer")
}
}
Script Classification
| Classification | Pattern | Retention |
|---|---|---|
| Temporary | *-runner.ps1, msg-*-*.json, *.exit, *.tmp |
Auto-deleted after 1 hour |
| Reusable | Documented in AGENT.md | Persist across sessions |
| Unknown | Everything else | Manual cleanup required |
Temporary Scripts
Auto-cleaned after 1 hour:
*-runner.ps1- Agent runner scriptsmsg-*-*.json- Message files*.exit- Agent exit status filesrestart-flag-*.json- Restart signal files*.tmp- Temporary files
Do NOT rely on these persisting.
Creating Reusable Scripts
- Document it in AGENT.md "Reusable Scripts" section
- Use descriptive naming:
{agent}-{purpose}.ps1 - Add to ralph-config.ps1 under
AuxiliaryScripts.Reusable - Explain purpose for future sessions
Template:
# Script: {AGENT}-{PURPOSE}.ps1
# Purpose: {Brief description}
# Created: {DATE}
# Used by: {Which agents}
param([string]$SomeParameter)
# Script logic
Documentation in AGENT.md
| Script | Purpose | Usage |
|---|---|---|
| (none yet) |
Update this table when creating new reusable scripts.
Script Permissions
- All scripts in
.claude/session/executable by agents - Never create scripts that modify source code without task assignment
- Scripts should only update session/state files
Related Skills
| Skill | Purpose |
|---|---|
shared-file-permissions |
File write permissions |
shared-context-management |
Context reset procedures |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?