ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

rose-container-tools

Build and run ROSE compiler tools using ROSE installed in a Docker container. Use when developing source-to-source translators, call graph analyzers, AST processors, or any tool that links against librose.so. Triggers on "ROSE tool", "callgraph", "AST traversal", "source-to-source", "build with ROSE", "librose".

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/chunhualiao/rose-container-tools
Or

What This Skill Does

The rose-container-tools skill provides a robust environment for developers working with the ROSE compiler framework. ROSE is a sophisticated source-to-source analysis and transformation tool that requires a very specific environment—typically GCC 7-10 and matching Boost libraries—which are often incompatible with modern host operating systems. This skill manages the complexity by encapsulating the entire ROSE build environment within a specialized Docker container. It facilitates the creation of AST processors, call graph analyzers, and source-to-source translators by ensuring that all necessary header files and shared libraries (librose.so) are correctly configured in a consistent, reproducible environment.

Installation

To begin using this skill, ensure that you have Docker installed and configured on your host system. Once your environment is ready, install the skill via the OpenClaw command-line interface using the following command:

clawhub install openclaw/skills/skills/chunhualiao/rose-container-tools

After installation, the OpenClaw agent will be able to assist in setting up the container instance, mounting your working directory, and generating the required Makefile to ensure your builds remain consistent with the ROSE framework’s requirements.

Use Cases

  • Developing Source-to-Source Translators: Easily implement tools that parse C/C++ code, perform AST transformations, and unparse the modified source back to disk.
  • Call Graph Analysis: Utilize built-in ROSE libraries to generate DOT files representing function call hierarchies within large-scale codebases.
  • AST Traversal and Statistics: Write custom traversals using AstSimpleProcessing to extract metrics or analyze specific syntax patterns within source files.
  • Automated Testing: Leverage the make check capability to execute suite-based tests on your compiler tools whenever you modify your transformation logic.

Example Prompts

  1. "I need to build a new ROSE tool that counts the number of loops in a C file. Can you help me set up the Makefile and the initial C++ source?"
  2. "My call graph generator is failing to link librose.so. Can you guide me through the container startup process to ensure my paths are mapped correctly?"
  3. "Help me convert my current ad-hoc compiler script into a proper Makefile structure that works with the ROSE container environment."

Tips & Limitations

  • Always Use a Makefile: The primary restriction for this tool is that it mandates the use of Makefiles. Do not attempt to compile ROSE tools using one-off shell commands, as managing include and library paths manually is highly error-prone.
  • Container Persistence: While the ROSE installation is read-only for safety, ensure you mount your working directory as a volume. This allows you to edit code on your host machine while compiling within the container.
  • Version Sensitivity: The container is pinned to a specific version of the ROSE compiler. If your research requires a bleeding-edge commit, you may need to reach out for an image update, as the internal dependencies are tightly coupled to the pre-compiled /rose/install directory.

Metadata

Stars3562
Views5
Updated2026-03-29
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-chunhualiao-rose-container-tools": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#rose-compiler#ast#c-plus-plus#docker#compilation
Safety Score: 3/5

Flags: file-read, file-write, code-execution

Related Skills

task-runner

Persistent task queue system. Users add tasks at any time via natural language; tasks are stored in a single persistent queue file and executed asynchronously via subagents. A heartbeat/cron dispatcher wakes periodically to check pending tasks, spawn workers, and report completions. The system never "finishes" — it always remains ready for the next task.

chunhualiao 3562

git-repo-to-book

Write a full-length technical book using multi-agent AI orchestration. Spawns parallel research, writing, and review agents to produce 60K-100K+ word manuscripts. Also supports revising individual chapters of existing books. Based on the real workflow that produced an 88,000-word, 14-chapter book in under 18 hours.

chunhualiao 3562

claude-usage

Check Claude Max plan usage limits by launching Claude Code and running /usage. Use when the user asks about Claude plan usage, remaining quota, rate limits, or sends /claude_usage.

chunhualiao 3562

skill-engineer

Design, test, review, and maintain agent skills for OpenClaw systems using multi-agent iterative refinement. Orchestrates Designer, Reviewer, and Tester subagents for quality-gated skill development. Use when user asks to "design skill", "review skill", "test skill", "audit skills", "refactor skill", or mentions "agent kit quality".

chunhualiao 3562

deepwiki

Query DeepWiki MCP to get AI-grounded answers about any public GitHub repository. Use when answering questions about a repo's source code, architecture, configuration, or internals. Triggers on "how does X work in <repo>", "deepwiki", "look up in codebase", "ask deepwiki", "check the source code".

chunhualiao 3562