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
累计下载
3,548
星标
3
全站排名
#3,092
全站前 61% · 「AI 智能体」前 65%
平台累计安装累计下载星标评论
ClawHub ↗1033,1193-
SkillHub ↗4353,5483—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

导出脚本依赖会话历史接口,把提示与回复写入每日Markdown档案;恢复脚本读取最近会话。文档的压缩前提醒需宿主集成,且限定主会话,不能据此保证自动恢复全部上下文。 会话档案可能以明文保存私人对话、凭据和指令。应控制访问权限与保留期限、先脱敏,并在后续会话加载前检查旧指令。

资料发布于 2026-10-27

可以用来做什么

  • 保存会话交接记录

什么时候用

  • 需要在上下文压缩前后延续任务时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

根据现有会话整理可归档记录,并列出导出和恢复依赖。

月度数据趋势

累计下载3,548
2,4783,0533,6272026-03 · 累计下载 2,5572026-05 · 累计下载 2,8482026-06 · 累计下载 2,7562026-07 · 累计下载 3,0512026-08 · 累计下载 3,1122026-09 · 累计下载 3,54826-0326-09
星标3
2342026-03 · 星标 32026-05 · 星标 32026-06 · 星标 32026-07 · 星标 32026-08 · 星标 32026-09 · 星标 326-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,548—3
2026-083,112+2.0%3
2026-073,051+10.7%3
2026-062,756-3.2%3
2026-052,848—3
2026-032,557—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),按月更新。口径说明见数据方法。