← Back to Skills Marketplace
dinghaibin

Template Tool

by BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
36
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install template-tool
Description
Process text templates with variable substitution. Use for generating dynamic content from template files.
README (SKILL.md)

Template - Text Template Processor

Replace placeholders in template files with provided values. Supports variable substitution with configurable delimiters for content generation.

Usage

template-tool [options] \x3Ctemplate_file> [key=value...]

Options

  • -d DELIM: Use custom delimiter (default: {{ }})
  • -o FILE: Write output to file

Examples

template-tool greeting.txt name=World
template-tool report.md title="Annual Report" year=2026
echo "Hello {{name}}" | template-tool name=Jack
Usage Guidance
Install only if you are comfortable reviewing the bundled scripts. Until the path handling is fixed, run it in a scratch directory, use simple template names without slashes or '..', and verify which script the 'template-tool' command actually invokes.
Capability Analysis
Type: OpenClaw Skill Name: template-tool Version: 1.0.0 The bundle provides project scaffolding and template processing utilities, but contains a path traversal vulnerability in 'scripts/template.py'. The script uses the user-provided 'name' and 'output' arguments to construct file paths without sanitizing for directory traversal sequences (e.g., '..') or absolute paths, allowing for arbitrary file writes. Additionally, there is a discrepancy between the CLI usage described in 'SKILL.md' and the actual arguments accepted by the scripts.
Capability Assessment
Purpose & Capability
The documented text-substitution purpose is mostly coherent with scripts/tpl.py, but scripts/template.py adds an undocumented project-scaffolding file writer with unsafe path construction.
Instruction Scope
SKILL.md contains ordinary usage examples and does not include goal-hijacking, forced tool use, or hidden agent-control instructions.
Install Mechanism
The registry says there is no install spec and calls this instruction-only, while the package includes executable Python scripts; the exact command entry point is ambiguous.
Credentials
Local file creation is expected for a template tool, but scripts/template.py does not confine generated filenames to the selected output directory.
Persistence & Privilege
No credentials, accounts, background services, or ongoing persistence are shown; the persistent effect is limited to generated local files when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install template-tool
  3. After installation, invoke the skill by name or use /template-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug template-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Template Tool?

Process text templates with variable substitution. Use for generating dynamic content from template files. It is an AI Agent Skill for Claude Code / OpenClaw, with 36 downloads so far.

How do I install Template Tool?

Run "/install template-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Template Tool free?

Yes, Template Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Template Tool support?

Template Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Template Tool?

It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.

💬 Comments