agentleFS
chiKekachiKeka/csitrep-generator/skills/setup/SKILL.md

setup

Skill0 starsChanged 8 months agoMITView on GitHub

Set up a new project for SitRep generation. Use when the user wants to configure a new project, change project type, or set up the plugin for the first time. Supports construction, software, development programs, product/manufacturing, consulting, and custom project types.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-slack, add-parallel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 6 projects that use this

  • MicrosoftSkill

    add-parallel

    Also in 5 projects that use this

  • sskarzSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 5 projects that use this

  • +9 more from microsoft

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. 0 are common, 21 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 21

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user didn't provide a project type as an argument, present these options:

    line 21
  2. Distinctive:

    Wait for their selection.

    line 34
  3. Distinctive:

    Ask the user how they want to provide project details:

    line 38
  4. Distinctive:

    If the user chooses document-based setup, ask them to provide the file path:

    line 50
  5. Distinctive:

    Run the preprocess script first to convert if needed:

    line 59
  6. Very specific:

    Read the document (Claude reads PDF natively.

    line 63
  7. Distinctive:

    Project name: - look for title, project name, engagement name

    line 65
  8. Distinctive:

    Project number: - look for reference numbers, contract numbers, PO numbers

    line 67
  9. Distinctive:

    Owner / client: - look for client name, owner, employer, sponsor

    line 68
  10. Distinctive:

    Project lead / PM: - look for project manager, PM, lead, point of contact

    line 69
  11. Distinctive:

    Start date: - look for commencement, start date, kick-off, effective date

    line 70
  12. Distinctive:

    End date: - look for completion, end date, deadline, delivery date

    line 71
  13. Distinctive:

    Budget: - look for contract value, budget, total cost, fee, funding amount

    line 72
  14. Distinctive:

    Reporting period: - default to weekly unless the document specifies otherwise

    line 74
  15. Distinctive:

    If any required fields weren't found (name, type, lead), ask only for those specific missing fields.

    line 93
  16. Distinctive:

    If the document also contains scope breakdowns, work packages, deliverables, or domain-specific details, note these for use when …

    line 95
  17. Distinctive:

    Create custom agent files in the agents/ directory.

    line 173
  18. Very specific:

    Create all 5 data folders under ./data/ based on the project type.

    line 202
  19. Distinctive:

    Use Bash to run mkdir -p for each folder.

    line 203
  20. Very specific:

    Write the complete config to ./data/config/project-info.json:

    line 207
  21. Very specific:

    Ask which Slack channel (e.g., #project-updates, #riverside-sitrep)

    line 244
  22. Distinctive:

    Ask if they want the HTML dashboard attached as a link or just the text summary

    line 245
  23. Very specific:

    Ask who should be @mentioned when critical issues are found (e.g., @mike, @safety-team)

    line 246
  24. Distinctive:

    Always create the data folders — don't just tell the user to create them

    line 303
  25. Very specific:

    If project-info.json already exists, warn the user and ask if they want to overwrite

    line 304
  26. Distinctive:

    Keep domain names short and clear

    line 306
  27. Distinctive:

    Always use lowercase with hyphens for folder names and agent names

    line 307

“Common” is measured: kept by at least 6 in 10 of the 171 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Project Setup

You are setting up a project for SitRep (Situation Report) generation.

Step 1: Ask Project Type

If the user didn't provide a project type as an argument, present these options:

Which project type best fits your work?

1. Construction     - Buildings, infrastructure, civil works
2. Software/IT      - Software development, IT projects, product launches
3. Development Program - NGO, aid, government, social programs
4. Product/Manufacturing - Hardware, CPG, production, product development
5. Consulting       - Advisory, professional services, agency work
6. Custom           - Define your own tracking domains

Wait for their selection.

Step 2: Collect Project Details

Ask the user how they want to provide project details:

How would you like to set up the project?

1. From a document  - Drop a project charter, scope, proposal, or contract
                      and I'll extract the details automatically
2. Enter manually   - I'll ask you a few questions

Option 1: From a Document

If the user chooses document-based setup, ask them to provide the file path:

Drop your project document here (charter, scope, proposal, contract, brief, etc.)
Supported: PDF, Word (.docx/.doc), Excel (.xlsx), PowerPoint (.pptx), or text files

Paste the file path:

Once they provide the file:

  1. Run the preprocess script first to convert if needed:
    bash ./scripts/preprocess.sh
  2. Read the document (Claude reads PDF natively; for Office files, read the converted .txt/.csv)
  3. Extract these fields from the document:
    • Project name - look for title, project name, engagement name
    • Project type - infer from content (construction terms = construction, sprint/backlog = software, etc.)
    • Project number - look for reference numbers, contract numbers, PO numbers
    • Owner / client - look for client name, owner, employer, sponsor
    • Project lead / PM - look for project manager, PM, lead, point of contact
    • Start date - look for commencement, start date, kick-off, effective date
    • End date - look for completion, end date, deadline, delivery date
    • Budget - look for contract value, budget, total cost, fee, funding amount
    • Currency - infer from currency symbols or country context
    • Reporting period - default to weekly unless the document specifies otherwise
  4. Present the extracted details for confirmation:
    I extracted the following from your document:
    
      Project name:    [extracted]
      Type:            [inferred] (based on [reason])
      Project number:  [extracted or "Not found"]
      Owner:           [extracted]
      Lead:            [extracted or "Not found - please provide"]
      Start date:      [extracted]
      End date:        [extracted]
      Budget:          [currency] [amount]
      Reporting:       [weekly/monthly]
    
    Is this correct? Edit anything that needs changing, or type "yes" to confirm.
  5. If any required fields weren't found (name, type, lead), ask only for those specific missing fields. Don't re-ask for fields that were successfully extracted.

If the document also contains scope breakdowns, work packages, deliverables, or domain-specific details, note these for use when configuring the data folders -- they can help inform which documents go where.

Option 2: Enter Manually

Ask for:

  • Project name
  • Project number (optional)
  • Owner / client name
  • Project lead / PM name
  • Start date
  • Planned completion date
  • Total budget and currency
  • Reporting period (weekly or monthly)

Step 3: Configure Domains and Agents

Based on the project type selected, set up the 5 tracking domains:

Construction

DomainAgentData Folder
Scheduleconstruction-scheduledata/schedule/
Cost & Budgetconstruction-costdata/cost/
Safetyconstruction-safetydata/safety/
Contracts & Adminconstruction-contractsdata/contracts/
Site Conditionsconstruction-sitedata/site/

Software/IT

DomainAgentData Folder
Sprint & Roadmapsoftware-sprintdata/sprint/
Budget & Resourcessoftware-budgetdata/budget/
Quality & Testingsoftware-qualitydata/quality/
Dependencies & Blockerssoftware-blockersdata/blockers/
Infrastructure & DevOpssoftware-infradata/infra/

Development Program

DomainAgentData Folder
Workplan & Timelineprogram-workplandata/workplan/
Budget & Grantsprogram-budgetdata/budget/
M&E (Monitoring & Evaluation)program-mnedata/mne/
Stakeholder & Partnersprogram-stakeholdersdata/stakeholders/
Field Operationsprogram-fielddata/field/

Product/Manufacturing

DomainAgentData Folder
Development Timelineproduct-timelinedata/timeline/
Cost & Procurementproduct-costdata/cost/
Quality & Complianceproduct-qualitydata/quality/
Supply Chainproduct-supplydata/supply/
Production & Operationsproduct-operationsdata/operations/

Consulting

DomainAgentData Folder
Deliverables & Timelineconsulting-deliverablesdata/deliverables/
Budget & Billingconsulting-budgetdata/budget/
Client Satisfactionconsulting-clientdata/client/
Resource Allocationconsulting-resourcesdata/resources/
Risk & Issuesconsulting-risksdata/risks/

Custom

For custom projects, ask the user:

Name your 5 tracking domains (the key areas you monitor on this project):
1.
2.
3.
4.
5.

Then for each domain, ask:

  • What types of documents will you put in this folder?
  • What should the agent look for when analyzing these documents?

Create custom agent files in the agents/ directory. Each custom agent file should follow this format:

---
name: custom-[domain-slug]
description: Analyzes [domain name] documents for [project name]
tools: Read, Glob, Grep, Bash
model: sonnet
maxTurns: 15
---

You are a [Domain Name] Analyst for the project "[Project Name]".

## Your Data Source
Read ALL files in ./data/[folder-name]/

## What You Analyze
[Based on what the user described]

## Output Format
Return structured findings with clear sections.
Flag items as CRITICAL, WATCH, or ON TRACK.

DOCUMENTS REVIEWED:
- [list files]

Step 4: Create Data Folders

Create all 5 data folders under ./data/ based on the project type. Use Bash to run mkdir -p for each folder.

Step 5: Save Configuration

Write the complete config to ./data/config/project-info.json:

{
  "project_name": "[name]",
  "project_type": "[construction|software|program|product|consulting|custom]",
  "reporting_period": "[weekly|monthly]",
  "project_number": "[number]",
  "owner": "[owner]",
  "lead": "[lead]",
  "start_date": "[YYYY-MM-DD]",
  "planned_completion": "[YYYY-MM-DD]",
  "budget": [number],
  "currency": "[USD|EUR|GBP|etc]",
  "domains": [
    {
      "name": "[Domain Name]",
      "agent": "[agent-name]",
      "folder": "data/[folder]/"
    }
  ],
  "notes": ""
}

Step 6: Slack Team Delivery (Optional)

Ask the user:

Would you like reports automatically delivered to Slack?
This lets your whole team receive reports without needing Claude Code.

1. Yes - configure Slack delivery
2. No - I'll use reports locally only

If yes:

  1. Ask which Slack channel (e.g., #project-updates, #riverside-sitrep)
  2. Ask if they want the HTML dashboard attached as a link or just the text summary
  3. Ask who should be @mentioned when critical issues are found (e.g., @mike, @safety-team)

Save the Slack config to project-info.json:

{
  "slack_delivery": {
    "enabled": true,
    "channel": "#project-updates",
    "mention_on_critical": ["@project-lead"],
    "include_dashboard": true,
    "auto_post": true
  }
}

If no, save:

{
  "slack_delivery": {
    "enabled": false
  }
}

Step 7: Confirm Setup

Show the user a summary:

Project configured:

  Name:     [name]
  Type:     [type]
  Period:   [weekly/monthly]
  Budget:   [currency] [amount]
  Timeline: [start] to [end]

  Tracking Domains:
  1. [Domain] → data/[folder]/
  2. [Domain] → data/[folder]/
  3. [Domain] → data/[folder]/
  4. [Domain] → data/[folder]/
  5. [Domain] → data/[folder]/

  Slack:    [#channel or "Not configured"]

Next steps:
  1. Drop your documents into the data folders above
  2. Run /csitrep-generator:generate to create your first report
  3. Run /csitrep-generator:schedule to set up auto-delivery

Your team can receive reports in Slack without installing anything.
Only you (the admin) need Claude Code.

Rules

  • Always create the data folders — don't just tell the user to create them
  • If project-info.json already exists, warn the user and ask if they want to overwrite
  • For custom projects, generate the agent .md files and save them in the agents/ directory
  • Keep domain names short and clear
  • Always use lowercase with hyphens for folder names and agent names
  • The Slack delivery config is what enables "configure once, team consumes" workflow

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.