Architecture Visualization & Governance for Openclaw

A comprehensive automation skill for visualizing Tencent Cloud architectures and managing governance through risk assessments and compliance dashboards.

stinggit
v1.4.0
Mar 24, 2026
0
680
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install architecture-visualization-governance

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install architecture-visualization-governance using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Architecture Visualization & Governance?

This skill provides a robust interface for interacting with Tencent Cloud Smart Advisor (Tencent Cloud Smart Advisor) via API. It allows developers to programmatically manage cloud architecture directories, retrieve detailed architecture diagrams, and generate risk heatmaps. By leveraging Openclaw Skills, users can bridge the gap between local CLI operations and the Tencent Cloud web console, ensuring that cloud infrastructure remains compliant with the Well-Architected framework.

At its core, the skill handles complex authentication flows, including AK/SK signature verification and secure CAM role assumption. It is designed for engineers who need to maintain high standards of architecture governance without manually navigating through the cloud console for every assessment.

Architecture Visualization & Governance Use Cases

  • Generating risk heatmaps to identify vulnerabilities in production cloud environments.
  • Automating the retrieval of architecture assessments for periodic compliance audits.
  • Creating secure, single-use login URLs for password-free access to specific cloud architecture diagrams.
  • Organizing unorganized cloud resources into structured architecture directories for better resource management.

How Architecture Visualization & Governance Works

  1. The skill initializes by reading Tencent Cloud SecretId and SecretKey from the environment to authenticate API requests.
  2. It runs a pre-check script to verify the local environment, Python version, and credential validity.
  3. Upon user consent, it configures a dedicated CAM role with specific access policies for Smart Advisor and Resource Tagging.
  4. It executes API calls to fetch data such as architecture lists, directory trees, and risk evaluation strategies.
  5. Results are returned in a standardized JSON format, while visual components generate secure, time-bound redirection links to the official Tencent Cloud console.

Architecture Visualization & Governance Setup

To begin using this skill within the Openclaw Skills ecosystem, configure your Tencent Cloud credentials:

echo 'export TENCENTCLOUD_SECRET_ID="your-secret-id"' >> ~/.bashrc
echo 'export TENCENTCLOUD_SECRET_KEY="your-secret-key"' >> ~/.bashrc
source ~/.bashrc

Run the environment validation script to ensure all dependencies and permissions are correctly set:

python3 check_env.py

If the environment check indicates that the required role is missing, execute the role creation script after reviewing the permissions:

python3 scripts/create_role.py

Architecture Visualization & Governance Data Schema & Taxonomy

The skill manages metadata and configuration locally while pulling real-time data from Tencent Cloud. Data is organized as follows:

Data Type Storage Location Description
Configuration ~/.tencent-cloudq/config.json Stores Role ARNs and Account UINs; no secret keys are stored here.
API Metadata _meta.json Tracks versioning and update status of the skill.
Cache System Temp Temporary UIN and session cache to improve response times.
API Responses Memory Standardized JSON output containing success status, action name, and cloud resource data.

Architecture Visualization & Governance Advanced Features

  • Plugin Architecture: Supports modular expansion through a dedicated plugin directory for custom architecture tasks.
  • Cross-Account Guardrails: Automatically intercepts and blocks unauthorized UIN queries to ensure data sovereignty.
  • Silent Mode: Enables non-interactive environment checks for use within larger CI/CD automation pipelines.
  • Automated Cleanup: Includes a comprehensive cleanup script to remove both local configurations and cloud-side IAM roles in one command.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*