Loading...
Loading...
[Synthetic Report] Synthesize multiple xy-archive files accumulated under a project into a markdown diagnostic report arranged by timeline - one that can be sent to partners, archived, and reviewed three months later. Used when the user says "give me a report", "package these up", "put together one for the partners", "combine the conclusions from these sessions". Trigger: /xy-brief, "make me a report", "package these up"|Made by Xiaoye
npx skill4agent add xyaz1313/xyskill xy-briefxy-archive| User input | What you do |
|---|---|
| Synthesize all archives under the current project into one |
| Only synthesize those after this date |
| Specify a project |
| Use both together |
| "Give me a report" / "package these up" / "put together one for the partners" | Same as |
slugsessionsreportsstatusnext_skill.xy/config.jsonxy-archivexy-archive~/.xy//xy-archive location{archive root}xy-archive.md{archive root}/sessions/{project-name}/{project-name}--sinceYYYYMMDD-HHMMSSxy-archive{archive root}/reports/{project-name}/{timestamp}-{project-name}.md ← reports/ directory, parallel to sessions/{timestamp}YYYYMMDD-HHMMSSmkdir -p# {project name} Diagnostic Report
Generated at: {local time, to the minute}
Archives merged: {N} files, {earliest date} to {latest date}
Skills traversed: {source_skill deduplicated list}
Generated by: XY Operating System · xy-brief
## 1. How the main complaint changed
In chronological order, one line per archive:
- 2026-07-02|{main complaint compressed into one sentence}|xy-close
- 2026-07-15|{main complaint}|xy-selection
- 2026-08-01|{main complaint}|xy-mode
Filled in, it looks like:
- 2026-07-02|Customer adds me, chats well, goes silent once I quote a price|xy-close
- 2026-07-15|Whether this product's gross margin is enough to support agents|xy-selection
- 2026-08-01|Whether to adopt the agency model at all|xy-mode
Trajectory: moved from "closing tactics" to "product gross margin" to "business model".
A short paragraph at the end: where the focus moved from and to - e.g., from "customers not ordering" to "whether the product's gross margin can support agents" to "whether to adopt the agency model". **This is the only place in the whole report where you're allowed to write a summary sentence**, and it only describes the trajectory itself, doesn't explain why, doesn't judge whether it was right.
## 2. Confirmed conclusions
Merge the "Conclusions reached" from every archive together. Merge semantically repeated ones; sort in reverse chronological order, newest first.
- {conclusion verbatim}|from 《{archive title}》|{date}
For conclusions later overturned or revised, **keep both**: new one first, old one after with "(revised by later diagnosis)" marked. The overturning itself is information - when a partner sees "last month said we'd adopt the agency model, this month said not for now", that's more useful than seeing only the final conclusion.
## 3. Rejected directions
Collect each archive's "Directions the user has rejected":
- {direction}|Reason for rejection: {reason}|from 《{archive title}》|{date}
If there are none, write "(none)".
## 4. Unresolved items
Two types combined:
1. "Hypotheses to verify" from archives whose status is still "in progress"
2. Directions mentioned in early archives but never touched again later
- {question or hypothesis verbatim}|First appeared {date}|Now: {in progress / to be verified}
## 5. Confirmed next steps
Collect each archive's "Confirmed next step" section and the next_skill at the top, sorted by this priority:
1. Confirmed in the latest archive
2. Repeatedly appearing, never acted on
3. Confirmed early, later replaced by a new one (marked "replaced by later ones")
Write it as a paragraph, not bullet points: what to do next, why this decision, which skill to use. If everything is "pending", write honestly "no next step was confirmed across all sessions" - don't invent one for the user.
## 6. Appendix: archive index
In chronological order, one line per archive:
| Date | Archive title | Status | Source | Path |
|---|---|---|---|---|
| 2026-07-02 | Customer chatted but didn't order | In progress | xy-close | `sessions/{project-name}/20260702-210540-Customer chatted but didn't order.md` (relative to {archive root}) |
Status always in Chinese (进行中 / 已结论 / 已放弃).
---
This report was automatically synthesized by the XY Operating System; the original archives are in `{archive root}/sessions/{project-name}/`. To update, run `/xy-brief` again.Report generated → {absolute path of the report file}
Merged {N} files, {start date} to {end date}.sessions/sessions/{project-name}/| What the user really wants to do | Which to use |
|---|---|
| Synthesize multiple archives into one report | |
| Save this round's conclusions | |
| Pull last session's archive to continue chatting | |
| Report to be published on WeChat, convert to paste-ready HTML | |
| Follow a domain for half a year, backfill results to distill patterns | |
/xy/xy_shared/chinese-writing.md