Syed Ateebul Islam

Remember All Prompts Daily

AI 智慧體v1.0.1
作者:Syed Ateebul Islam更新於 2026-05-11共 2 個版本 · 最新版本釋出於 2026-01-26remember-all-prompts-daily@clawhub_syedateebulislam/remember-all-prompts-daily
工作流編排上下文管理記憶增強

據 AlphaMoat 統計,截至 2026-09,Remember All Prompts Daily 累計下載 3,548 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 3,092 位,在「AI 智慧體」分類(969 個)中排名第 628 位。

累計安裝
435
累計下載
3548
星標
3
全站排名
#3,092
全站前 61% · 「AI 智慧體」前 65%
平台累計安裝累計下載星標評論
ClawHub ↗10331193-
SkillHub ↗43535483—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

匯出指令碼依賴會話歷史介面,把提示與回覆寫入每日Markdown檔案;恢復指令碼讀取最近會話。文件的壓縮前提醒需宿主整合,且限定主會話,不能據此保證自動恢復全部上下文。 工作階段封存檔可能以明文保存私人對話、憑證與指令。請控管存取權限與保留期限、先行去除敏感資訊,並在後續工作階段載入前檢查舊指令。

資料釋出於 2026-10-27

可以用來做什麼

  • 儲存會話交接記錄

什麼時候用

  • 需要在上下文壓縮前後延續任務時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

根據現有會話整理可歸檔記錄,並列出匯出和恢復依賴。

月度資料趨勢

累計下載3548
2478305336272026-03 · 累計下載 25572026-05 · 累計下載 28482026-06 · 累計下載 27562026-07 · 累計下載 30512026-08 · 累計下載 31122026-09 · 累計下載 354826-0326-09
星標3
2342026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093548—3
2026-083112+2.0%3
2026-073051+10.7%3
2026-062756-3.2%3
2026-052848—3
2026-032557—3

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.5 KB · ClawHub v1.0.1
---
name: remember-all-prompts-daily
description: Preserve conversation continuity across token compaction cycles by extracting and archiving all prompts with date-wise entries. Automatically triggers at 95% token usage (pre-compaction) and 1% (new sprint start) to export session history, then ingests archived summaries on session restart to restore context.
---

# Remember All Prompts Daily

This skill maintains conversation continuity across token budget cycles by automatically archiving your session history before compaction and restoring it when a new session begins.

## How It Works
展開全部(共 130 行)

### 1. **Extraction Trigger (95% Token Usage)**
When token usage approaches 95%:
- Run `export_prompts.py` to extract current session history
- Format all prompts/responses with timestamps
- Append to `memory/remember-all-prompts-daily.md` with date-wise entry
- Marks the archive point so compaction can proceed

### 2. **Fresh Session Trigger (1% Token Usage)**
When a new session starts (fresh 1% token usage):
- Check if `memory/remember-all-prompts-daily.md` exists
- Read the most recent entry
- Ingest it as "past conversation summary" to restore context
- Continues naturally from where the previous session ended

### 3. **Daily File Structure**
```
# Remember All Prompts Daily

## [DATE: 2026-01-26]

### Session 1 (09:00 - 09:47)
[All prompts and responses from session]

### Session 2 (10:15 - 11:30)
[All prompts and responses from session]
```

## Scripts

### `scripts/export_prompts.py`
Extracts all prompts/responses from current session and archives them.

**Usage:**
```bash
python scripts/export_prompts.py
```

**What it does:**
- Uses `sessions_history()` to fetch all messages from current session
- Formats with timestamps and message IDs
- Appends to `memory/remember-all-prompts-daily.md`
- Includes metadata (token count, duration, etc.)

### `scripts/ingest_prompts.py`
Reads the daily archive and injects it as context on session start.

**Usage:**
```bash
python scripts/ingest_prompts.py
```

**What it does:**
- Reads `memory/remember-all-prompts-daily.md` (if exists)
- Extracts most recent session
- Returns formatted summary for ingestion into new session

## Integration

### Heartbeat Check
Add to `HEARTBEAT.md` to monitor token usage:
```
Check token usage - if >95%, export session history
```

### Cron Job (Optional)
For automatic triggers:
```bash
# Check token at regular intervals
clawdbot cron add --text "Check token usage and export if needed" --schedule "*/15 * * * *"
```

## Example Flow

**Session 1:**
1. Chat normally
2. Token reaches 95%
3. export_prompts.py runs automatically
4. All prompts archived to daily file
5. Session compacts

**Session 2 (New Sprint):**
1. Fresh 1% token budget
2. ingest_prompts.py reads archive
3. "Here's what we discussed yesterday..."
4. Context restored, conversation continues seamlessly

## Manual Usage

### Export Right Now
```bash
python skills/remember-all-prompts-daily/scripts/export_prompts.py
```

### View Today's Archive
```bash
cat memory/remember-all-prompts-daily.md | tail -100
```

### Ingest Previous Session
```bash
python skills/remember-all-prompts-daily/scripts/ingest_prompts.py
```

## Token Monitoring

Monitor token usage via:
```bash
session_status  # Shows current token usage %
```

When you see token usage approaching 95%, the skill can auto-trigger, or you can manually export.

## Notes

- Runs only in main session (direct chat with Ateeb)
- Respects privacy — only stores your actual prompts and responses
- Daily file auto-rotates at midnight (one entry per date)
- Can be manually triggered anytime

「AI 智慧體」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。