skill
small-datacenter-airflow-thermal-optimization-agent-skill
π‘οΈβοΈ Small Data Center Airflow & Thermal Engineering Engine | Production-grade Claude Code harness & Python package (dc_thermal v2.0.0) for small data centers & edge server rooms. Features ASHRAE TC
Set up
Skills are installed by placing their folder where your agent loads skills.
The download comes from github.com/dungnotnull/small-datacenter-airflow-thermal-optimization-agent-skill itself, not from our server, so what you get is exactly what its author published.
Install instructions come from the README
README
synced Oct 25, 2026small-datacenter-airflow-thermal-optimization
Airflow & Temperature Optimization for Small Data Centers
A professional-grade Claude Code harness for Small Data Center Cooling & Airflow Engineering β gathers real-time authoritative data, applies recognized domain methods (ASHRAE TC 9.9, hot/cold-aisle containment, PUE optimization, CFD/hotspot detection, cooling sizing, free cooling), integrates academic research, and delivers evidence-backed, risk-disclosed outputs.
Architecture Upgrade (v2.0.0)
v2.0.0 upgrades this skill to a bulletproof, production-grade, open-source standard:
dc_thermal/flexible architecture package @EM@ skill registry, chain-of-thought router, lifecycle hooks (logging/trace/state-sync), rich tool definitions with JSON schemas, token-budgeted context window, pluggable LLM backends (stub/anthropic), and the same 10 quality gates (U1@EM@U6 + G1@EM@G4).- Modular directories:
/scripts(automation),/references(domain knowledge + prompt templates),/assets(JSON schemas + diagrams + glossary),/config(type-safe settings, env > file > defaults). SKILL.md@EM@ canonical skill-registry documentation (register / resolve / execute / validate + I/O JSON schemas).- Full Unicode/Vietnamese remediation @EM@ every mojibake literal
?replaced with the correct character; Vietnamese labels, language table, and Idea paragraph reconstructed with precomposed Unicode.
from dc_thermal import build_default
orch = build_default()
rr = orch.run("Optimize airflow & PUE for a 20-rack, 200 kW small DC in Hanoi (A1)")
print(rr.verdict, rr.gate_summary()) # Conditional (containment) U1OK ... G4OK
python -m dc_thermal.cli --query "..." --json --emit-trace
python scripts/run_all_tests.py # pytest + validators, combined exit code
Overview
Small Data Center Cooling & Airflow Engineering practitioners face fragmented data (ASHRAE, Green Grid, TIA/Uptime, vendors, journals), inconsistent methodology (setpoints without class validation, PUE claims without a metering basis, hotspots without CFD/SHI quantification), and tools that do not self-improve. This skill unifies authoritative real-time data, recognized domain methods, a continuously-updated academic knowledge base, an executable thermal engine, and an executable orchestrator into one evidence-backed, risk-disclosed workflow.
- Real-time data aggregation from authoritative Small Data Center Cooling & Airflow Engineering sources
- Systematic domain analysis methods (ASHRAE TC 9.9 setpoints, hot/cold-aisle containment, PUE optimization, CFD/hotspot detection, cooling sizing, free cooling)
- Executable thermal engine (
tools/thermal_analysis.py) β ASHRAE lookup, PUE, cooling sizing, required airflow, SHI/RTI/RHI, inlet profile, free-cooling hours, setpoint validation - Executable 6-step orchestrator (
tools/harness.py) β context management, sub-skill invocation, quality-gate enforcement, graceful degradation, language detection, output templating, pluggable LLM backend - Academic research integration with auto-updating knowledge base
- Risk/limitation-disclosed outputs with best/base/worst scenario coverage
- Self-improving knowledge pipeline (weekly academic + daily news crawl)
- 10 quality gates (U1βU6 universal + G1βG4 domain) with auto-fix and 2-retry max
- 5-level graceful degradation with explicit LIMITATION banners
- Vietnamese/English language detection
Why This Skill
Small Data Center Cooling & Airflow Engineering practitioners face fragmented data, inconsistent methodology, and tools that do not self-improve. This skill unifies authoritative real-time data, recognized domain methods, and a continuously-updated academic knowledge base into one evidence-backed, risk-disclosed workflow.
Installation
pip install -r requirements.txt
Install skill files to ~/.claude/skills/ or use via project CLAUDE.md.
Quick Start
# Validate the project against the 8-File Contract
python tools/validate_project.py
# Run all structural/content scenario checks
python tools/run_test_scenarios.py
# Run the unit-test suites
python tools/test_thermal_analysis.py
python tools/test_knowledge_updater.py
# Dry-run the knowledge crawl (no network writes)
python tools/knowledge_updater.py --dry-run
# Run the executable harness orchestrator on a query (stub LLM backend by default)
python tools/harness.py --query "Optimize airflow & PUE for a 20-rack, 200 kW small DC in Hanoi (ASHRAE A1)"
Usage
Invoke the skill in Claude Code:
/small-datacenter-airflow-thermal-optimization [your query]
Analysis types supported:
- Full combined β airflow + cooling/setpoints + CFD/hotspots + PUE + scenarios (default)
- Airflow β hot/cold aisle, containment, blanking, required-rack-airflow
- Cooling & setpoints β CRAC/CRAH/in-row/liquid sizing + ASHRAE TC 9.9 envelope
- PUE β current/target PUE with levers + free-cooling hours
- CFD/hotspot β inlet profile, SHI/RTI/RHI, hotspot remediation
Architecture
Harness flow: requirements β evidence β core analysis β knowledge β synthesis β quality gate.
All numeric computations go through tools/thermal_analysis.py; the 6-step flow is provided as an executable orchestrator in tools/harness.py.
NNN-small-datacenter-airflow-thermal-optimization/
βββ CLAUDE.md # Identity card
βββ CHANGELOG.md # Version history
βββ CODE_OF_CONDUCT.md # Contributor Covenant
βββ CONTRIBUTING.md # Contribution guide
βββ LICENSE # MIT
βββ PROJECT-detail.md # Full technical spec
βββ PROJECT-DEVELOPMENT-PHASE-TRACKING.md
βββ README.md
βββ SECOND-KNOWLEDGE-BRAIN.md # Living knowledge base
βββ SECURITY.md # Security policy
βββ pyproject.toml # Python packaging & pytest config
βββ progression.json
βββ requirements.txt
βββ .editorconfig
βββ .gitignore
βββ .github/
β βββ workflows/ci.yml # CI/CD pipeline
β βββ ISSUE_TEMPLATE/
β β βββ bug_report.md
β β βββ feature_request.md
β β βββ config.yml
β βββ PULL_REQUEST_TEMPLATE.md
βββ skills/
β βββ main.md # Harness orchestrator + quality gates
β βββ sub-*.md # 5 sub-skills
βββ tools/
β βββ __init__.py # Package init with __version__
β βββ knowledge_updater.py # Crawl pipeline
β βββ thermal_analysis.py # Domain thermal engine
β βββ harness.py # 6-step orchestrator
β βββ validate_project.py # 8-File Contract validator
β βββ run_test_scenarios.py # Structural & content validator
β βββ test_knowledge_updater.py # Unit tests (crawl)
β βββ test_thermal_analysis.py # Unit tests (engine)
βββ tests/
β βββ __init__.py
β βββ conftest.py # Pytest configuration
β βββ test-scenarios.md
β βββ TEST_RESULTS.md
β βββ test_thermal_analysis_pytest.py
β βββ test_knowledge_updater_pytest.py
β βββ test_harness_pytest.py
βββ logs/ # Artifact directory (.gitignored)
See PROJECT-detail.md for the full architecture diagram.
Quality Gates
Universal gates U1βU6 plus domain gates defined in skills/main.md:
- U1 β₯3 sources cited, β₯1 academic/authoritative
- U2 Disclosure/limitations before recommendation
- U3 Evidence hierarchy (Tier 1β4) per source
- U4 Language matches user preference
- U5 Declared template (all sections)
- U6 Every claim traceable or flagged
- G1 Airflow containment designed (hot/cold aisle, blanking, cable mgmt)
- G2 ASHRAE TC 9.9 setpoints for declared class (A1 recommended 18β27 Β°C, 40β60% RH;
validate_setpointPASS) - G3 CFD hotspots/bypass/recirculation addressed (all top-of-rack inlets β€ ASHRAE limit OR remediation stated)
- G4 PUE optimized; cooling β1.15β1.25βIT; redundancy N+1
Data Sources
- ASHRAE TC 9.9 data center thermal guidelines
- ASHRAE Handbook β HVAC Applications (Datacom)
- The Green Grid β PUE / ERE / CUE references
- TIA-942 / Uptime Institute Tier Standard
- CFD for data centers references (6Sigma / Future Facilities)
- UPS / power redundancy references
- Applied Thermal Engineering, Int. J. Heat & Mass Transfer, Building and Environment, IEEE TCPMT, Sustainable Computing, Energy and Buildings
Testing
python tools/validate_project.py # 8-File Contract
python tools/run_test_scenarios.py # scenarios + structure
python tools/test_thermal_analysis.py # thermal engine unit tests
python tools/test_knowledge_updater.py # crawl pipeline unit tests
All suites exit 0 on success.
Knowledge Base
SECOND-KNOWLEDGE-BRAIN.md is auto-updated weekly via tools/knowledge_updater.py. Dedup is SHA256 of DOI/URL; scoring is a composite 0β10 of recency (0.4) + keyword relevance (0.4) + citation count (0.2). See PROJECT-detail.md for the crawl config and CLAUDE.md for the cron schedule.
Development
# Format/lint (recommended)
python -m py_compile tools/*.py # byte-compile sanity check
python tools/test_thermal_analysis.py
python tools/test_knowledge_updater.py
python tools/validate_project.py
python tools/run_test_scenarios.py
The codebase targets Python 3.11+, uses the stdlib logging module, dataclasses for config, type hints throughout, and explicit exit codes. The thermal engine has zero third-party runtime dependencies (stdlib only) so it runs anywhere.
Roadmap
- Phase 0: Architecture
- Phase 1: Core sub-skills (5)
- Phase 2: Main harness + gates + degradation
- Phase 3: Knowledge pipeline
- Phase 4: Testing
- Phase 5: Integration & polish β PRODUCTION READY v2.0.0
- Encoding audit (UTF-8 no-BOM)
- Domain thermal engine (
tools/thermal_analysis.py) - Executable harness orchestrator (
tools/harness.py) - 8-File Contract validator (
tools/validate_project.py) - LICENSE (MIT)
Contributing
Contributions are welcome. Please:
- Open an issue describing the change.
- Ensure
python tools/validate_project.py,tools/run_test_scenarios.py,tools/test_thermal_analysis.py, andtools/test_knowledge_updater.pyall pass. - Add/expand unit tests for any new domain method.
- Keep all files UTF-8 no-BOM.
Acknowledgments
- ASHRAE TC 9.9 β Thermal Guidelines for Data Processing Environments
- The Green Grid β PUE / ERE / CUE metrics
- TIA-942 / Uptime Institute β reliability topology
- Academic venues: Applied Thermal Engineering, Int. J. Heat & Mass Transfer, Building and Environment, IEEE TCPMT, Sustainable Computing, Energy and Buildings
License
MIT β see LICENSE.
Citation
@software{small-datacenter-airflow-thermal-optimization,
title = {small-datacenter-airflow-thermal-optimization: Airflow & Temperature Optimization for Small Data Centers},
year = {2026},
version= {1.1.0}
}