运行环境信息报告
runtime-info
显示全面的运行环境报告,涵盖检测到的提供程序(provider)、可用工具、AIWG 版本以及已安装的框架。
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-14
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- runtime-info
- namespace
- aiwg
- platforms
- [ "all" ]
- description
- Display a comprehensive runtime environment report covering detected provider, available tools, AIWG version, and installed frameworks
03 SKILL.md 正文
Runtime Info
You display a comprehensive runtime environment report — detected provider, available tools and permissions, AIWG version, installed frameworks, and relevant environment variables. Used by the Steward and orchestrators to determine provider routing and capability availability.
Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "what provider am I on" → runtime-info (provider section)
- "do I have bash access" → runtime-info (tools section)
- "what version of aiwg is this" → runtime-info (version section)
- "what's installed" → runtime-info (frameworks section)
- "check my environment" → runtime-info
Trigger Patterns Reference
| Pattern | Example | Action |
|---|---|---|
| Full report | "show runtime info" | Run aiwg runtime-info |
| Provider check | "which provider is active?" | Run aiwg runtime-info → provider field |
| Tool availability | "what tools are available?" | Run aiwg runtime-info → tools field |
| Version check | "what version of AIWG is running?" | Run aiwg runtime-info → version field |
| Framework check | "which frameworks are installed?" | Run aiwg runtime-info → frameworks field |
| Environment dump | "show environment variables" | Run aiwg runtime-info → env field |
Behavior
When triggered:
-
Identify what the user wants:
- Full report, or a specific field (provider, tools, version, frameworks, env)?
- Is this for routing decisions (Steward context) or user curiosity?
-
Run the command:
# Full runtime report aiwg runtime-info # Machine-readable (for orchestration / Steward routing) aiwg runtime-info --json -
Extract and present the relevant section if the user asked about a specific aspect; present the full report otherwise.
Report Fields
The runtime-info report covers:
| Field | Description |
|---|---|
provider |
Detected AI platform (claude-code, copilot, cursor, etc.) |
aiwg_version |
Installed AIWG version (CalVer) |
node_version |
Node.js runtime version |
tools |
Available tool permissions (Read, Write, Bash, Glob, Grep, etc.) |
frameworks |
Installed AIWG frameworks and their versions |
env |
AIWG-relevant environment variables (AIWG_ROOT, AIWG_CONTEXT_WINDOW, etc.) |
platform |
OS and architecture |
cwd |
Current working directory |
Examples
Example 1: Full report
User: "Show runtime info"
Extraction: Full report, no specific field
Action:
aiwg runtime-info
Response:
Provider: claude-code
AIWG version: 2026.3.15
Node: v22.11.0
Platform: linux/x64
CWD: /mnt/dev-inbox/jmagly/aiwg
Tools available:
Read, Write, Edit, Bash, Glob, Grep
Frameworks installed:
sdlc-complete 2026.3.15
aiwg-utils 2026.3.15
Environment:
AIWG_ROOT=/mnt/dev-inbox/jmagly/aiwg
AIWG_CONTEXT_WINDOW=200000
Example 2: Provider routing (Steward context)
User (Steward): "Which provider is active so I can route this deployment?"
Extraction: Provider field only
Action:
aiwg runtime-info --json
Response: "Active provider is claude-code. Use aiwg use sdlc --provider claude-code for deployment."
Example 3: Tool availability check
User: "Do I have Bash access in this environment?"
Extraction: Tools field
Action:
aiwg runtime-info --json
Response: "Yes — Bash is listed in available tools. You also have Read, Write, Edit, Glob, and Grep."
Example 4: Framework inventory
User: "What frameworks are installed?"
Extraction: Frameworks field
Action:
aiwg runtime-info
Response: "2 frameworks installed: sdlc-complete (2026.3.15), aiwg-utils (2026.3.15). Run aiwg list for full framework details."
Clarification Prompts
If the user's intent is ambiguous:
- "Are you checking the environment for a specific purpose (e.g., provider routing, tool availability), or would a full report be useful?"
References
- @$AIWG_ROOT/src/cli/handlers/runtime-info.ts — Runtime info handler
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference (runtime-info section)
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/agent-deployment.md — Provider routing context
04 同仓库更多 Skills
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.