weekly-digests
यह क्या करती है
यह एजेंट किसी प्रोजेक्ट के इतिहास का एक कहानी जैसा सारांश बनाता है, जो हफ्ते-दर-हफ्ते बंटा होता है। यह पूरा इतिहास लेता है, उसे हफ्तों में बाँटता है, और हर हफ्ते के लिए एक अध्याय बनाता है। कोशिश यह रहती है कि कहानी एक हफ्ते से अगले हफ्ते तक सही तरह से आगे बढ़े।
कब इस्तेमाल करें
- ✓जब आपको प्रोजेक्ट का सारांश हफ्तों में बंटा हुआ चाहिए।
- ✓प्रोजेक्ट समय के साथ कैसे बदला, यह एक कहानी की तरह देखने के लिए।
- ✓जब आपको प्रोजेक्ट पर हर हफ्ते के काम के लिए अलग-अलग अध्याय चाहिए।
Skill का लिंक
https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/weekly-digests/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“'MyProject' प्रोजेक्ट के लिए हफ्ते-वार डाइजेस्ट बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह पहले पूरे प्रोजेक्ट इतिहास को लेकर उसे हफ्ते के हिसाब से अलग-अलग फाइलों में बाँटता है। फिर हर हफ्ते को क्रम से पढ़ता है, पिछले हफ्ते की जानकारी से कहानी आगे बढ़ाता है, और हर हफ्ते का एक अध्याय बनाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Weekly Digests
Produce a serial, multi-chapter narrative digest of a project's complete claude-mem history. Differs from timeline-report (one long report) — this generates one digest per ISO week, with each subagent reading the prior week's carry-forward block so the story stays coherent.
The chapter count equals the number of ISO weeks the timeline covers. A project with 2 weeks of data produces 2 chapters; one with 30 weeks produces 30. There is no fixed length — count the weeks first, then drive the pipeline off that count.
When to Use
Trigger when the user asks for:
- "Weekly digests"
- "Week-by-week story"
- "Serial timeline"
- "Story chapters of [project]"
- "Run a digest for each week"
- "Continue the story week by week"
If the user wants a single sweeping report, use timeline-report instead. This skill is for serial chapter format.
Prerequisites
- claude-mem worker running
- Project has at least one ISO week of observations (the pipeline degenerates gracefully — even N=1 works)
- A clean output directory the user is comfortable writing into
Resolve the worker port (do this once, reuse $WORKER_PORT):
WORKER_PORT="${CLAUDE_MEM_WORKER_PORT:-$(node -e "const fs=require('fs'),p=require('path'),os=require('os');const uid=(typeof process.getuid==='function'?process.getuid():77);const fallback=String(37700+(uid%100));try{const s=JSON.parse(fs.readFileSync(p.join(os.homedir(),'.claude-mem','settings.json'),'utf-8'));process.stdout.write(String(s.CLAUDE_MEM_WORKER_PORT||fallback));}catch{process.stdout.write(fallback);}" 2>/dev/null)}"
Workflow
Step 1: Determine the Project Name
Same worktree-detection pattern as timeline-report. In a worktree, the data source is the parent project:
git_dir=$(git rev-parse --git-dir 2>/dev/null)
git_common_dir=$(git rev-parse --git-common-dir 2>/dev/null)
if [ "$git_dir" != "$git_common_dir" ]; then
parent_project=$(basename "$(dirname "$git_common_dir")")
else
parent_project=$(basename "$PWD")
fi
echo "$parent_project"
Step 2: Fetch the Full Timeline and Save It
mkdir -p .scratch
curl -s "http://localhost:${WORKER_PORT}/api/context/inject?project=PROJECT_NAME&full=true" \
> .scratch/cm-timeline.md
wc -l .scratch/cm-timeline.md
Sanity-check: confirm the file is non-empty and has the expected structure (preamble, then date headers like ### Mon DD, YYYY, then numeric observation lines <id> <time> <emoji> <title> and session boundary lines S<n> <prompt> (Mon DD at HH:MMpm)).
Step 3: Split the Timeline Into Per-ISO-Week Files
Write a Python script to .scratch/split-timeline.py that:
- Parses date headers (
### Mon DD, YYYY). - Groups days into ISO weeks via
date.isocalendar()(Monday-start). - Emits one file per week to
docs/timeline-weeks/<YYYY>-W<NN>-<MonDD>-to-<MonDD>.md, preserving each day's section verbatim. - Runs a dual-pass sanity check: total observations distributed must equal the count in the source file.
Output structure (filenames illustrative):
docs/timeline-weeks/
README.md # weekly index table
YYYY-W<NN>-MonDD-to-MonDD.md # one per ISO week the timeline covers
...
Each weekly file should preserve the original daily sections verbatim. Do not paraphrase at this stage — the digest agents need raw fidelity.
Count the resulting files before launching the pipeline. That count is TOTAL and drives every subsequent step. Empty weeks (zero observations between active weeks) should be skipped — the pipeline only operates on weeks that have content.
Step 4: Build the Weekly Index README
Write docs/timeline-weeks/README.md with a markdown table: Week | Dates | Observations | Sessions | File. This becomes the operator's roadmap and helps the agents understand pacing (peak weeks vs trough weeks).
Step 5: Run the Consecutive Subagent Pipeline
Critical: subagents run sequentially, NOT in parallel. Each agent receives the prior agent's carry-forward block. This is the entire point of the skill — without it you have N disjoint summaries; with it you have an N-chapter serial narrative.
Create the output directory:
mkdir -p docs/timeline-weeks/digests
…
अक्सर पूछे जाने वाले सवाल
सारांश में कितने अध्याय होंगे?
अध्यायों की संख्या ठीक उतनी होगी जितने हफ्तों में प्रोजेक्ट इतिहास में काम दर्ज हुआ है।
अगर किसी हफ्ते में कोई गतिविधि नहीं हुई तो क्या होगा?
जिन हफ्तों में कोई गतिविधि दर्ज नहीं है, उन्हें छोड़ दिया जाता है और उनका अध्याय नहीं बनता, ताकि कहानी में सिर्फ वही दिखे जो असल में हुआ।
सारे हफ्ते एक साथ क्यों नहीं, बल्कि एक के बाद एक क्यों प्रोसेस होते हैं?
इससे कहानी लगातार बनी रहती है। हर हफ्ता पिछले हफ्ते से सीखता है, जिससे एजेंट अधूरी बातों को जोड़ सकता है और एक सुसंगत कहानी बना सकता है, जैसे कोई प्रोजेक्ट को असली समय में देख रहा हो।
जानकारी
लेखक का मूल विवरण
Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests", "week-by-week story", "serial timeline", or "narrative chapters" of a project's hist
repo: thedotmack/claude-mem
लोकप्रियता
- GitHub स्टार
- 101k
- रैंकिंग में स्थान
- #1283
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
Agent Cost Report
101kआपके एजेंट की गतिविधियों की विस्तृत लागत रिपोर्ट बनाता है। दिखाता है कि टोकन और सेवाओं पर कितना खर्च हुआ।
claude-mem-install
101kयह आपके एजेंट को अलग-अलग वातावरण में Claude-Mem सेट अप करने में मदद करता है। इसमें लोकल या रिमोट वर्कर में से चुनने और observation कॉन्फ़िगर करने की सुविधा है।
mem-search
101kयह आपके एजेंट को पुरानी memories में खोजने देता है। पिछले सेशन के पुराने समाधान या काम याद करने में यह उपयोगी है।
host-observer
101kयह आपके एजेंट को Claude-Mem observer के काम का जवाब देने में मदद करता है। यह सिर्फ 'skip_summary' या पूरा XML observation ही लौटाता है।
मिलती-जुलती skills
obsidian-vault-maintainer
394kयह आपके एजेंट को Obsidian के अनुकूल मेमोरी vault व्यवस्थित रखने देती है, जिसमें काम करने वाले wiki लिंक, एक जैसी properties और सुरक्षित जेनरेटेड सेक्शन हों।
wiki-maintainer
394kयह आपके एजेंट को OpenClaw मेमोरी wiki दोहराए जा सकने वाले पेजों, सुरक्षित मैनेज्ड ब्लॉक्स और विरोधाभास या कमियों की जांच के साथ संभालने देती है।
obsidian
394kयह आपके एजेंट को आधिकारिक Obsidian कमांड-लाइन से Obsidian नोट्स, टास्क, लिंक और properties पढ़ने, खोजने, बनाने और बदलने देती है।