# Hardware Info

> 全面查询电脑硬件信息。当用户询问"电脑配置"、"硬件信息"、"系统信息"、"查看配置"、"电脑什么配置"、"硬件详情"、"设备信息"、"查看硬件"、"系统配置"、"电脑型号"、"CPU信息"、"内存多大"、"硬盘多大"、"显卡信息"等时触发。 支持 macOS、Linux 和 Windows 系统，自动检测平台并使用对应命令获取全面的硬件信息，包括： - 系统概览（型号、序列号、操作系统） -

- Skill: `usmanskillsmd/hardware-info` (Agent Skill)
- Install (CLI): `npx skillmds@latest add usmanskillsmd/hardware-info`
- Raw SKILL.md: https://api.skillmd.com/api/skills/usmanskillsmd/hardware-info/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: usmanskillsmd (https://skillmd.com/u/usmanskillsmd)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/usmanskillsmd/hardware-info

---


# hardware-info

全面查询电脑硬件信息。当用户询问"电脑配置"、"硬件信息"、"系统信息"、"查看配置"、"电脑什么配置"、"硬件详情"、"设备信息"、"查看硬件"、"系统配置"、"电脑型号"、"CPU信息"、"内存多大"、"硬盘多大"、"显卡信息"等时触发。

支持 macOS、Linux 和 Windows 系统，自动检测平台并使用对应命令获取全面的硬件信息，包括：
- 系统概览（型号、序列号、操作系统）
- 

Hardware Info

全面查询电脑硬件信息。当用户询问"电脑配置"、"硬件信息"、"系统信息"、"查看配置"、"电脑什么配置"、"硬件详情"、"设备信息"、"查看硬件"、"系统配置"、"电脑型号"、"CPU信息"、"内存多大"、"硬盘多大"、"显卡信息"等时触发。

支持 macOS、Linux 和 Windows 系统，自动检测平台并使用对应命令获取全面的硬件信息，包括：
- 系统概览（型号、序列号、操作系统）
- 

Overview

Hardware Info is a comprehensive agent skill designed for lifestyle workflows. It provides structured guidance and automation patterns that enable AI coding agents to handle hardware info tasks with precision and reliability across diverse project environments.

This skill encapsulates best practices gathered from production deployments and open-source communities. It covers the complete lifecycle from initial setup through advanced configuration, ensuring consistent results whether you are working on a greenfield project or integrating into an existing codebase.

Built by openclaw, this skill follows the open SKILL.md standard and is compatible with all major AI coding tools including Claude Code, Cursor, Windsurf, Codex CLI, and ChatGPT.

When to Use

Activate this skill when the user needs to:

Set up or configure hardware info in a new or existing project

Debug issues related to hardware info implementation

Follow best practices for lifestyle workflows

Automate repetitive hardware info tasks

Review and improve existing hardware info configurations

Integrate hardware info with personal productivity tools and creative workflows

Core Capabilities

Automated Setup & Configuration

Generates complete configuration files with sensible defaults, proper directory structure, and environment-specific overrides. Includes inline documentation explaining each configuration choice and its tradeoffs.

Intelligent Code Generation

Produces idiomatic, production-ready code following established patterns and conventions. The generated code includes proper error handling, logging, type annotations, and test scaffolding out of the box.

Debugging & Troubleshooting

Systematically diagnoses common issues by analyzing error messages, log output, and configuration state. Provides step-by-step resolution guides with explanations of root causes to prevent recurrence.

Performance Optimization

Identifies bottlenecks and applies targeted optimizations based on measured data rather than assumptions. Tracks before/after metrics and documents the rationale behind each optimization decision.

Example Prompts

Users might ask:

"Set up hardware info for my project"

"Debug why hardware info is failing in CI"

"Optimize the hardware info configuration for production"

"Add hardware info support to the existing codebase"

"Review my hardware info setup and suggest improvements"

"Migrate from the old hardware info approach to the latest version"

Configuration

ParameterDefaultDescription

modeautoOperation mode: auto, manual, or hybrid

output_dir./outputDirectory for generated files and artifacts

verbosefalseEnable detailed logging for debugging

stricttrueEnforce strict validation on all inputs

timeout30000Maximum execution time in milliseconds

retry_count3Number of retry attempts on transient failures

Best Practices

Start with defaults — The default configuration is optimized for the most common use cases. Override only what you need to change.

Version control everything — Keep all configuration files and generated artifacts in version control for auditability and rollback capability.

Test in isolation first — Validate changes in a sandboxed environment before applying them to shared or production systems.

Document deviations — When you override defaults or apply custom configurations, document the reason in comments or a decisions log.

Monitor after changes — After applying any configuration change, monitor system behavior for at least one full cycle to catch unexpected regressions.

Keep dependencies updated — Regularly update dependencies and check for deprecation notices to avoid security vulnerabilities and compatibility issues.

Common Patterns

# Quick setup
npx skills add openclaw/hardware-info

# Verify installation
skills verify hardware-info

# Run with custom config
skills run hardware-info --mode=auto --verbose

Troubleshooting

IssueCauseSolution

Skill not foundPackage not installed or path incorrectRun npx skills add openclaw/hardware-info to reinstall

Configuration errorInvalid parameter values or missing required fieldsRun skills validate hardware-info to check config

Timeout exceededOperation taking longer than configured limitIncrease timeout parameter or optimize the operation

Permission deniedInsufficient access to target files or directoriesCheck file permissions and ensure write access to output directory

Integration Guide

Follow these steps to integrate Hardware Info into your workflow:

Install the skill using your preferred package manager (npx, bunx, or pnpm)

Initialize configuration by running the setup wizard or copying the default config

Customize settings based on your project requirements and team conventions

Add to CI/CD by including the skill invocation in your pipeline configuration

Set up monitoring to track skill execution results and catch failures early

Output Format

This skill produces structured output in the following format:

{
  "status": "success",
  "skill": "hardware-info",
  "version": "1.0.0",
  "results": {
    "files_generated": 3,
    "warnings": [],
    "metrics": {
      "duration_ms": 1250,
      "memory_mb": 45.2
    }
  }
}

Advanced Usage

For power users and complex scenarios:

Chaining skills — Combine this skill with related skills for end-to-end workflows using the skills chain command

Custom templates — Override default templates by placing custom files in the .skills/templates/ directory

Environment variables — Configure behavior via environment variables prefixed with SKILL_ for container-friendly deployments

Hooks — Register pre/post execution hooks to run custom logic before or after the skill executes

Dry run mode — Use --dry-run flag to preview changes without applying them

Related Skills

Skills that work well alongside Hardware Info:

Browse more skills in the Lifestyle category

Check the full category listing for complementary tools
