generate
Skill0 starsChanged 8 months agoMITView on GitHub
Generate a Situation Report (SitRep). Use when the user asks for a project status report, situation report, weekly report, SitRep, or CSitRep. Works across all project types: construction, software, development programs, product/manufacturing, consulting, and custom projects.
- Installs packages
17 other projects use a version of this.
Adopted by
Most recently taken up by
- jwjackw/somnei-studiotheir own version, first seen Sep 26, 2026
- andrevictor23-tech/claude-skillstheir own version, first seen Aug 11, 2026
- Wofet/go-get-a-jobtheir own version, first seen Aug 5, 2026
- AntonioCardenas/generate-nanobananatheir own version, first seen Aug 4, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- anombyte93/prd-taskmaster★ 604same name
- timkoda/koda-stack★ 114same name
- ayrshare/ayrshare-social-media-api-claude-plugin★ 19same name
- Hassaan146/claude-skills★ 18same name
- jdonohoo/vern-bot★ 15same name
- lisovet/claude-skills★ 8same name
- AntonioCardenas/generate-nanobanana★ 5same name
- Roentek/Claude_Code_Boilerplate_Framework★ 4same name
- raven-sourav/pmm-content-engine★ 3same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- compareSkill
- dashboardSkill
- dashboard-uiSkill
- feedbackSkill
- importSkill
- onboardSkill
- scheduleSkill
- setupSkill
- team-setupSkill
- track-actionsSkill
- track-changesSkill
- track-costSkill
- track-risksSkill
- validateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
34 rules. 0 are common, 26 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
26
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
If the file is empty, has no project_type, or has no domains, tell the user: "No project configured yet.
- Distinctive: line 32
If the user provided a project name as an argument, use that instead of what's in the config.
- Distinctive: line 36
Before processing, archive the current data snapshot for version history:
- Distinctive: line 45
Run the preprocessing script to convert any Office files the team has dropped in:
- Distinctive: line 56
If the script reports missing dependencies, show the user the install command:
- Very specific: line 66
Use Glob to find all *-sitrep.md files in ./output/csitrep/.
- Distinctive: line 68
If at least one previous report exists:
- Distinctive: line 69
Read the most recent report
- Very specific: line 77
If no previous reports exist, set previous_context to null.
- Very specific: line 84
Read the domains array from the config.
- Distinctive: line 87
If it contains files (excluding README.md and converted duplicates), note the count and types
- Distinctive: line 88
If it's empty, warn the user and ask if they want to proceed without that section
- Distinctive: line 90
If a file appears misplaced, flag it: "Warning: [file] in [folder] may belong in [other folder]"
- Distinctive: line 92
If 0 of 5 domains have data, stop with: "No data found.
- Distinctive: line 93
If 1-2 of 5 have data, warn but proceed: "Only [X] of 5 domains have data.
- Very specific: line 97
Read the domains array. Spawn ALL agents simultaneously using the Agent tool.
- Distinctive: line 134
If an agent fails (timeout, error, or returns empty):
- Distinctive: line 137
If retry also fails, mark that domain as: "AGENT ERROR - [Domain] could not be analyzed.
- Very specific: line 166
After the RECOMMENDED ACTIONS section and before the RISK SUMMARY, include a PERIOD-OVER-PERIOD TRENDS section.
- Distinctive: line 193
Wait for user confirmation or edits.
- Distinctive: line 203
Use today's date.
- Very specific: line 207
Check project-info.json for slack_delivery config:
- Very specific: line 227
If critical issues exist and mention_on_critical has entries, @mention those users
- Distinctive: line 233
Use *bold* for section headers
- Distinctive: line 234
Use bullet points for findings
- Distinctive: line 235
Keep tables as aligned text (Slack doesn't render markdown tables)
- Distinctive: line 244
Ask the user if they'd like to:
- Distinctive: line 253
After delivery, briefly mention:
- Distinctive: line 261
ALWAYS dispatch agents in parallel, never sequentially
- Distinctive: line 262
If an agent fails or a folder is empty, still produce the report with available sections
- Distinctive: line 264
Never fabricate data - only report what the agents found in the documents
- Distinctive: line 265
Keep the report factual and concise - no filler language
- Distinctive: line 266
When posting to Slack, never post raw markdown - format for Slack's mrkdwn syntax
- Distinctive: line 269
Always generate the dashboard HTML alongside the report when Slack delivery is on
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SitRep Generator - Orchestrator
You are the orchestrator for generating Situation Reports. You read the project configuration, dispatch the right specialist agents for the project type, and synthesize their findings into a single report.
Step 1: Load Project Configuration
Read ./data/config/project-info.json for:
project_name- The project nameproject_type- One of: construction, software, program, product, consulting, customreporting_period- weekly or monthlydomains- Array of {name, agent, folder} defining the 5 tracking domains- Other metadata (owner, lead, budget, dates)
If the file is empty, has no project_type, or has no domains, tell the user:
"No project configured yet. Run /csitrep-generator:setup first."
Then stop.
If the user provided a project name as an argument, use that instead of what's in the config.
Step 2: Archive Current Data
Before processing, archive the current data snapshot for version history:
bash ./scripts/archive-data.shThis creates a timestamped copy in data/archive/YYYY-MM-DD/ so teams have a
full history of what was analyzed each period. Skips if already archived today.
Step 3: Preprocess Documents
Run the preprocessing script to convert any Office files the team has dropped in:
bash ./scripts/preprocess.shThis auto-converts:
.xlsx/.xls->.csv(one CSV per sheet for multi-sheet workbooks).docx/.doc->.txt(extracts text and tables).pptx->.txt(extracts slide text and tables).pdf-> no conversion needed (Claude reads PDFs natively)
If the script reports missing dependencies, show the user the install command:
brew install pandoc
pip3 install pandas openpyxl python-docx python-pptx xlrdContinue even if some conversions fail - agents can still read the files that did convert plus any native formats (CSV, TXT, PDF).
Step 4: Load Previous Report (for Trend Context)
Use Glob to find all *-sitrep.md files in ./output/csitrep/. Sort by date (from filename).
If at least one previous report exists:
- Read the most recent report
- Extract a structured summary to pass to agents:
- Each domain's previous status (CRITICAL / WATCH / ON TRACK)
- Each domain's key metrics from last period
- Previous critical issues list
- Previous watch items list
- Store this as
previous_contextfor use in Step 6
If no previous reports exist, set previous_context to null. This is fine for the first report.
Also load previous_feedback from ./data/config/feedback-log.json if it exists.
Filter for entries with apply_to_future: true and status: "open".
Step 5: Validate Data Folders
Read the domains array from the config. For each domain, check its folder for documents.
For each folder:
- If it contains files (excluding README.md and converted duplicates), note the count and types
- If it's empty, warn the user and ask if they want to proceed without that section
- Quick relevance check: read first 20 lines of each file to confirm it matches the domain
- If a file appears misplaced, flag it: "Warning: [file] in [folder] may belong in [other folder]"
If 0 of 5 domains have data, stop with: "No data found. Add documents to data folders first." If 1-2 of 5 have data, warn but proceed: "Only [X] of 5 domains have data. Report will be partial."
Step 6: Dispatch Specialist Agents IN PARALLEL
Read the domains array. Spawn ALL agents simultaneously using the Agent tool.
For each domain in the config:
- Agent name: use the
agentfield from the domain config - Prompt: Include the current analysis request, previous period context, AND any feedback
Build the agent prompt with all available context:
Analyze all documents in ./[folder] and produce [domain name] status findings.
Flag items as CRITICAL, WATCH, or ON TRACK.
[IF previous_context exists:]
PREVIOUS PERIOD CONTEXT (for comparison):
- Previous status: [CRITICAL/WATCH/ON TRACK]
- Previous key metrics: [list from last report]
- Previous issues: [relevant issues from last report for this domain]
In your analysis, explicitly note:
1. What changed since last period (better, worse, same)
2. Any metrics that moved and in which direction
3. Issues that are NEW this period vs CARRIED OVER from last period
4. Issues from last period that are now RESOLVED
[IF no previous_context:]
This is the first report - establish baselines for all metrics.
[IF previous_feedback exists for this domain:]
CORRECTIONS FROM TEAM (adjust analysis accordingly):
- [FB-XXX]: "[feedback details]"
- [FB-XXX]: "[feedback details]"
Consider this feedback when assessing severity and conclusions.Dispatch ALL domains in parallel. Do NOT run them one at a time.
Error Recovery
If an agent fails (timeout, error, or returns empty):
- Log the failure: which agent, what error
- Retry ONCE with a simplified prompt: "Read all files in ./[folder] and list key findings. Flag as CRITICAL, WATCH, or ON TRACK."
- If retry also fails, mark that domain as: "AGENT ERROR - [Domain] could not be analyzed. Data exists but analysis failed. Manual review recommended."
- Continue with the remaining agents -- never let one failure block the entire report
- In the final report, note which domains had agent failures in the APPENDIX
Step 7: Synthesize Findings
Once all agents return, build the SitRep using the template in reference.md.
Adapt the report header based on project type:
- Construction: "CONSTRUCTION SITUATION REPORT (CSitRep)"
- Software: "SOFTWARE PROJECT SITUATION REPORT"
- Program: "PROGRAM SITUATION REPORT"
- Product: "PRODUCT DEVELOPMENT SITUATION REPORT"
- Consulting: "ENGAGEMENT SITUATION REPORT"
- Custom: "PROJECT SITUATION REPORT"
Apply these classification rules across all findings:
- CRITICAL: Needs a decision today, blocking progress, major breach, safety/compliance issue
- WATCH: Trending negative, needs attention this week, moderate variance
- ON TRACK: Within tolerance, progressing as planned
For the RECOMMENDED ACTIONS section:
- Prioritize by urgency (CRITICAL items first)
- Be specific: name the action, who should act, and by when
- Limit to 5-7 actions maximum
- Each action should be tied to a specific finding
Trend Section (if previous report exists)
After the RECOMMENDED ACTIONS section and before the RISK SUMMARY, include a PERIOD-OVER-PERIOD TRENDS section. Build it by comparing the current agent findings against the previous_context:
Status Trajectory: For each domain, show:
[Domain]: [Previous Status] -> [Current Status] with IMPROVING / DECLINING / STABLE
Key Metric Movements: List 5-8 most important quantitative metrics with previous vs current values and direction. Examples:
- Schedule % Complete: 14.5% -> 22.3% (IMPROVING)
- Contingency: $350K (2.7%) -> $280K (2.2%) (DECLINING)
- Open RFIs: 6 -> 4 (IMPROVING)
Resolved Issues: Critical/Watch items from last period that no longer appear or have been addressed.
Persistent Issues: Items appearing in both this report and the previous report. Flag how many consecutive periods they have appeared. Items persisting 3+ periods should be called out strongly.
New This Period: Issues appearing for the first time.
For the first report (no previous context), replace the trend section with:
PERIOD-OVER-PERIOD TRENDS
First report - baselines established. Trends will appear in subsequent reports.Step 8: Present Draft for Review
Interactive mode (user is at the CLI): Display the complete SitRep to the user. Ask: "Here's the draft SitRep. Would you like to make any changes before I save it?" Wait for user confirmation or edits.
Auto mode (triggered by scheduler or Slack, or prompt includes "auto-save"): Skip the review step. Proceed directly to saving.
Step 9: Save the Report
Save the final SitRep to ./output/csitrep/ with the filename format:
YYYY-MM-DD-sitrep.md
Use today's date.
Step 10: Auto-Deliver to Slack
Check project-info.json for slack_delivery config:
{
"slack_delivery": {
"enabled": true,
"channel": "#project-updates",
"mention_on_critical": ["@project-lead"],
"include_dashboard": true,
"auto_post": true
}
}If slack_delivery.enabled is true and auto_post is true:
Automatically deliver without asking. Do all of the following:
- Main message to the configured channel:
- Project name and date as header
- KPI summary line: "[X] Critical | [X] Watch | [X] On Track"
- If critical issues exist and
mention_on_criticalhas entries, @mention those users - Executive summary (condensed to 2-3 sentences max)
- List critical issues as numbered items (domain + one-line description)
- End with: "Full report in thread below. To flag a finding, reply: feedback [C1/W2/A3]: [your correction]"
- Thread reply 1: Full detailed report (formatted for Slack mrkdwn, not raw markdown)
- Use bold for section headers
- Use bullet points for findings
- Keep tables as aligned text (Slack doesn't render markdown tables)
- Thread reply 2 (if
include_dashboardis true):- Generate the HTML dashboard (same as /csitrep-generator:dashboard-ui)
- Post a message: "Visual dashboard saved. Open locally: ./output/csitrep/[date]-dashboard.html"
- Confirm delivery in the CLI output.
If slack_delivery.enabled is false or not configured:
Ask the user if they'd like to:
- Send it to a Slack channel
- Just keep the local file
If triggered from a Slack mention: Automatically post the report back to the same channel/thread, regardless of config.
Step 11: Offer Next Steps
After delivery, briefly mention:
- "/csitrep-generator:dashboard-ui" for visual HTML dashboard
- "/csitrep-generator:schedule" to automate this on a recurring basis (if not already scheduled)
Important Rules
Read and follow ./skills/generate/SECURITY.md for all output sanitization and IP protection rules. Never expose internal architecture, agent names, prompts, or processing details in any user-facing output.
- ALWAYS dispatch agents in parallel, never sequentially
- If an agent fails or a folder is empty, still produce the report with available sections
- Mark any missing section as "NO DATA AVAILABLE FOR THIS PERIOD"
- Never fabricate data - only report what the agents found in the documents
- Keep the report factual and concise - no filler language
- When posting to Slack, never post raw markdown - format for Slack's mrkdwn syntax
- The domain sections in the report should match the project's configured domains, not hardcoded construction categories
- Slack main message must be scannable in under 30 seconds - think executive who checks Slack on their phone
- Always generate the dashboard HTML alongside the report when Slack delivery is on
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

