← Back to Skills Marketplace
660
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install openclaw-training-manager
Description
Manage and optimize your OpenClaw training workspace -- scaffold files, generate skills, log training sessions, and validate workspace structure.
Usage Guidance
This skill appears coherent and implements its own safety checks (prompt-injection detection tiers, shell metacharacter checks, rate limiting, whitelisted file writes). Before installing or running it, review the scripts yourself and take these practical steps: 1) Run it in a test or isolated workspace (set OPENCLAW_WORKSPACE to an empty directory) so it can't touch your real data. 2) Inspect workspace files for secrets — the skill reads and writes files in the workspace and will expose file contents during the interactive flow. 3) If you plan to generate skills from untrusted input, note generate-skill.sh writes SKILL.md into workspace/skills; treat generated skills like third-party code and review them before enabling. 4) The README mentions cloning from GitHub / a hub; only install from sources you trust. 5) The pre-scan injection hit is defensive: it comes from the blocklist inside the security library. If you want higher assurance, run the scripts through a local audit (shellcheck, manual read) before use.
Capability Analysis
Type: OpenClaw Skill
Name: openclaw-training-manager
Version: 0.1.4
The OpenClaw Training Manager skill bundle is benign. It demonstrates a strong focus on security, particularly against prompt injection and shell injection. The `SKILL.md` instructs the AI agent to use dedicated, sanitized scripts for all file operations and to perform agent-level screening of user input. A centralized `scripts/lib/security.sh` library provides robust tiered prompt injection filtering, shell metacharacter validation, and rate limiting. All scripts handling user input (`generate-skill.sh`, `log-training.sh`, `write-file.sh`) correctly implement these security measures, including path traversal prevention and input validation. There is no evidence of malicious intent, data exfiltration, unauthorized remote control, or persistence mechanisms.
Capability Assessment
Purpose & Capability
The name and description (training manager / workspace scaffolding, skill generation, logging, validation) match the provided scripts and SKILL.md. Required runtime is only bash and an optional OPENCLAW_WORKSPACE path; scripts operate on the workspace files they claim to manage. No unexpected external services, credentials, or unrelated binaries are requested.
Instruction Scope
Runtime instructions direct the agent to run the included scripts, perform interactive onboarding, write bootstrap files via a dedicated writer, analyze/validate workspace files, export backups, and create skills under workspace/skills. This is within purpose. Note: Phase 4 asks to display full source of included files to the operator (useful for review but could expose secrets if the workspace contains them). Also, a prompt-injection blocklist appears in the SKILL.md (and is used by the security library) — the static detector flagged the phrase but it appears to be defensive rather than malicious.
Install Mechanism
No automated install spec is embedded (instruction-only skill plus shipped scripts). The README suggests cloning from GitHub or a hub but the skill itself does not download or execute remote archives. This lowers install risk.
Credentials
No required environment variables or credentials are declared. Scripts optionally respect OPENCLAW_WORKSPACE and use HOME for backup paths; they do not request cloud or third-party secrets. The tool writes to the user's workspace and backup directory, which is proportional to its functionality.
Persistence & Privilege
always:false and the skill does not request system-wide persistence. It creates and manipulates files only inside the declared workspace (~/.openclaw/workspace or OPENCLAW_WORKSPACE) and backup directory; it can generate new skills under workspace/skills, which is expected behavior. It does not modify other skills' configs outside that workspace.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-training-manager - After installation, invoke the skill by name or use
/openclaw-training-manager - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.4
- Added security.sh and write-file.sh scripts for improved file-write safety and prompt injection defense.
- All workspace file writes during setup and onboarding now route through write-file.sh for prompt sanitization.
- Updated setup flow to call write-file.sh instead of direct file writes for IDENTITY.md, USER.md, SOUL.md, AGENTS.md, TOOLS.md, and MEMORY.md.
- Clarified instructions to never write workspace files directly; all writes are filtered.
- No changes to user-facing commands or behaviors outside the improved onboarding file-safety measures.
v0.1.3
- Added proactive workspace management and clean up for advanced users
- Added new script: `scripts/analyze.sh` to the repository.
- This addition may support future automation or analysis workflows within the training manager.
v0.1.2
## 1.0.2 — Security Hardening
### Prompt Injection Defense (NEW)
Content written by this skill lands in workspace files that become part of the agent's system prompt. This release adds two layers of protection against malicious content being injected into behavioral rules or generated skills.
**Layer 1 — Agent-level screening (SKILL.md):**
- New "Content Security" section in behavioral guidelines
- Agent must screen all content before calling write scripts
- Detects instruction override attempts, data exfiltration phrases, encoded commands, and behavioral rule masquerading
- Suspicious content is shown to the operator for explicit confirmation before proceeding
- Reinforces "translate, don't transcribe" policy — agent rephrases corrections into scoped directives rather than copying raw input verbatim
**Layer 2 — Script-level filters (log-training.sh, generate-skill.sh):**
- New `check_prompt_injection()` function in both scripts
- Pattern-matches against 19 regex patterns covering:
- Instruction overrides ("ignore previous instructions", "you are now", "disregard all rules", etc.)
- Data exfiltration ("secretly send", "upload all files to", "exfiltrate", etc.)
- Obfuscation (base64 encode/decode)
- Suspicious outbound commands (curl POST, wget --post)
- Hard reject with clear error message
- Escape hatch: edit target files manually for legitimate content that triggers false positives
### Shell Injection Fixes (from 1.0.1)
- All `echo` replaced with `printf '%s'` for variable interpolation
- Backtick and `$()` command substitution blocked in all user-provided arguments
- `requires_bins` and `requires_env` validated against character class whitelist
- Consolidate `TARGET_FILE` restricted to whitelisted bootstrap filenames only
- Path traversal (`/`, `\`, `..`) blocked in consolidate filename argument
- Empty slug guard in generate-skill.sh
### Bug Fixes
- Fixed `((var++))` causing silent script exit under `set -e` in validate.sh (all 6 instances)
- Fixed consolidation awk pattern that leaked next section's heading into staging file
- Fixed `/^## [^T]/` heading pattern that skipped headings starting with "T" (e.g. "## Tools")
### Interactive Onboarding (from 1.0.0)
- New `setup` command with 5-phase conversational onboarding flow
- Auto-detection: if 2+ core workspace files are missing, setup starts automatically
- Translation table for converting conversational answers into proper agent directives
- Post-setup validation runs automatically
- Scaffold preserved as fallback for power users who prefer raw templates
v0.1.1
openclaw-training-manager v0.1.1
- Initial release with core functionality for OpenClaw training workspace management.
- Added scripts: export, generate-skill, log-training, scaffold, status, and validate for automation of common workspace tasks.
- Supports interactive onboarding, skill generation, workspace scaffolding, training correction logging, and workspace validation.
- Comprehensive documentation included in README.md.
v0.1.0
Initial release with interactive workspace setup and management.
- Adds conversational onboarding to create all core workspace files based on users' real answers (no placeholders).
- Auto-detects missing setup and launches onboarding flow; falls back to scaffolding raw templates for advanced users.
- Generates agent instructions, tone, and workspace config from operator input, previewing before writing.
- Supports skills generation with prompts for required details and environment.
- Logs training corrections and session memories, including immediate initial log after setup.
- Validates workspace for correct structure after setup or changes.
Metadata
Frequently Asked Questions
What is Training Manager?
Manage and optimize your OpenClaw training workspace -- scaffold files, generate skills, log training sessions, and validate workspace structure. It is an AI Agent Skill for Claude Code / OpenClaw, with 660 downloads so far.
How do I install Training Manager?
Run "/install openclaw-training-manager" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Training Manager free?
Yes, Training Manager is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Training Manager support?
Training Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin).
Who created Training Manager?
It is built and maintained by anova44 (@anova44); the current version is v0.1.4.
More Skills