Cloud Architecture Discovery for Openclaw

An automated tool to discover, map, and evaluate Tencent Cloud architectures via the Smart Advisor API.

stinggit
v1.4.0
Mar 24, 2026
0
763
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install cloud-architecture-discovery

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 cloud-architecture-discovery 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 Cloud Architecture Discovery?

Cloud Architecture Discovery is a powerful extension for Openclaw Skills designed to provide developers and architects with deep visibility into their Tencent Cloud environments. By leveraging the Tencent Cloud Smart Advisor (TSA) API, it automatically generates architecture directories, maps resource relationships, and provides topology visualizations directly within your workflow.

This skill goes beyond simple mapping by integrating risk assessment and architecture evaluation results based on the Well-Architected Framework. It allows users to manage architecture diagrams, query risk items, and even generate password-free login links to the Tencent Cloud console for immediate visual inspection and governance.

Cloud Architecture Discovery Use Cases

  • Automating the discovery of existing cloud resources and their topological relationships.
  • Conducting architecture risk assessments and compliance audits using the Smart Advisor engine.
  • Generating direct-access console links for specific architecture diagrams without manual navigation.
  • Organizing unorganized cloud resources into structured architecture directories.
  • Monitoring cloud health through automated periodic evaluation of resource configurations.

How Cloud Architecture Discovery Works

  1. The environment check script validates Python version, Openclaw Skills version, and Tencent Cloud AK/SK credentials.
  2. Upon user consent, it sets up a specific CAM role (advisor) with the necessary permissions for console redirection.
  3. The skill calls the Smart Advisor API using TC3-HMAC-SHA256 signature authentication to fetch architecture data.
  4. It processes the API response to build a hierarchical view of cloud directories and resource groups.
  5. For visual verification, it generates a secure, short-lived STS token to create a seamless login URL for the Tencent Cloud console.

Cloud Architecture Discovery Setup

First, ensure you have python3 installed and your Tencent Cloud credentials ready. Set your environment variables in your shell configuration file:

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

Then, run the environment check to initialize the Openclaw Skills components:

python3 check_env.py

If the role is not configured, run the creation script (requires explicit confirmation):

python3 scripts/create_role.py

Cloud Architecture Discovery Data Schema & Taxonomy

The skill organizes data using the following structure:

Data Type Description Primary Key
Architecture Details of the cloud resource mapping ArchId
Directory Logical grouping of cloud architectures DirectoryId
Strategy Risk assessment and inspection items StrategyId
Evaluation Results of the Well-Architected audit ArchId

All metadata is stored locally in _meta.json and configuration persists in ~/.tencent-cloudq/config.json.

Cloud Architecture Discovery Advanced Features

  • Multi-platform support for Windows, Linux, and macOS with pure Python implementation.
  • Automated CAM role lifecycle management including creation, attachment, and cleanup.
  • Plugin architecture allowing for feature expansion via specialized sub-skills in the references/plugins directory.
  • Intelligent interceptors to prevent cross-account (UIN) data leakage during queries.
  • Support for STS temporary tokens to enhance security during console redirection.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*