Skip to content

DavidCho1999/archaiflow-skills / bundles/code-life-safety/skills/climate-zone-mapper

climate-zone-mapper

Verified

Records the climate or thermal zone a project sits in, then builds the envelope requirement scorecard component by component: roof, walls above and below grade, floors, slab edge, fenestration thermal, fenestration solar gain, and air leakage. Trigger on "what climate zone is this", "climate zone for this site", "envelope requirements for zone X", "energy code envelope scorecard", "climate-zone-mapper", or a pasted project address with an envelope question. Works with any energy code. The zone determination and every requirement value come from the user, typed, pasted, or read from a file they name. The skill never supplies a zone, an R-value, a U-factor, or a solar gain figure from memory or from web search, and any component without a supplied requirement is reported as unverified. Writes a CSV scorecard and a summary.

scripts/append_to_index.py

View on GitHub
#!/usr/bin/env python3
"""Append a row to docs/climate-zone/index.md."""
import argparse
import sys
from datetime import date
from pathlib import Path


def main():
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument("--project", required=True)
    parser.add_argument("--location", required=True, help="City / metro name")
    parser.add_argument("--county-state", required=True, help='e.g. "Cook, IL"')
    parser.add_argument("--zone", required=True, help="e.g. 4A")
    parser.add_argument("--occupancy", required=True, help="Commercial | Residential")
    parser.add_argument("--csv", required=True)
    parser.add_argument("--summary", required=True)
    parser.add_argument("--date", default=date.today().isoformat())
    parser.add_argument("--cz-dir", default="docs/climate-zone")
    args = parser.parse_args()

    index_file = Path(args.cz_dir) / "index.md"
    if not index_file.exists():
        sys.exit(f"Index not found: {index_file}. Run init_workspace.py first.")

    row = (
        f"| {args.date} | {args.project} | {args.location} | "
        f"{args.county_state} | {args.zone} | {args.occupancy} | "
        f"[{args.csv}](./{args.csv}) | [{args.summary}](./{args.summary}) |"
    )

    content = index_file.read_text()
    if row in content:
        sys.exit(f"Identical row already present in {index_file}.")

    if not content.endswith("\n"):
        content += "\n"
    content += row + "\n"
    index_file.write_text(content)
    print(f"Appended: {args.project} -> {index_file}")


if __name__ == "__main__":
    main()
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall