Report Blocks
Developmentreport-blocksReport Blocks is an Agent Skill for development published in the tsinghua-fib-lab/AgentSociety repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Composable HTML block patterns for agentsociety-analysis reports — KPI strips, figure cards, Mermaid, EDA tabs, optional interactive chart iframes. Use during Stage 5 produce when authoring report_zh.html / report_en.html.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/tsinghua-fib-lab/AgentSociety/blob/HEAD/extension/skills/agentsociety-analysis/v1.0.0/support/report-blocks/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/report-blocks, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Report Blocks (bundled support)
Read references/reports.md at the agentsociety-analysis skill root first.
Files
| File | Purpose |
|---|---|
../../references/reports.md | Blocks, embeds, workflow |
../../assets/report-shell.reference.html | Working HTML/CSS/JS |
External inspiration absorbed
- folio / datainpane — block composition, KPI strips, offline HTML
- report-creator — Mermaid diagrams-as-code, metric groups
- Evidence.dev — value-box hierarchy (KPI → prose → charts)
- Cursor canvas — mandatory plot labeling (title, axes, source)
Guardrails
Evidence-first, scientific tone, navy/slate shell. See support/frontend-design/references/analysis-reports.md for typography only.