用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/flonat/claude-research --skill update-focus命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when you need to audit a research project against the init-project-research template.
Use when you need to validate a paper's bibliography — cross-references \cite{} keys against .bib files or embedded \bibitem entries, finds missing/unused/typo'd keys, and checks every key against the Paperpile library via the local resolver. Deep verification mode spawns parallel agents for DOI/metadata validation at scale. Fix mode rekeys drifted keys to canonical and stages missing entries for Paperpile.
Use when you need to bootstrap a full research project with directory scaffold and Overleaf symlink.
基于 SOC 职业分类
正在显示 SKILL.md
| name | update-focus |
| description | Use when you need to update current-focus.md with a structured session summary. |
| allowed-tools | Read, Edit, Bash(git log*), Bash(date*), Bash(ls*) |
Structured end-of-session update to
.context/current-focus.mdthat preserves the document's full structure.
The stop hook nudges to update current-focus.md at session end, but ad-hoc edits risk flattening its rich structure. This skill handles session rotation, open loop management, and targeted questions — so the file stays useful as a working memory between sessions.
/session-log if current-focus.md wasn't updatedcurrent-focus.md follows this structure — always preserve it:
# Current Focus
> Update this file regularly...
## This Week's Focus (w/c YYYY-MM-DD)
### Primary Goal
[One sentence]
### Active Projects (Top 3)
1. **[Project]** - [Status/phase]
2. **[Project]** - [Status/phase]
3. **[Project]** - [Status/phase]
### Waiting On
- [ ] [Person] - [What] - [Since when]
### Upcoming Deadlines
| Deadline | What | Project |
|----------|------|---------|
## Recent Context
### Last Session Summary (YYYY-MM-DD — [Title])
- [Bullet points of what happened]
### Previous Session (YYYY-MM-DD — [Title])
- [Bullet points]
### Previous Session (YYYY-MM-DD — [Title])
- [Bullet points]
### Previous Session (YYYY-MM-DD — [Title])
- [Bullet points]
### Open Loops
Things I started but haven't finished:
- [ ] [Item]
- [x] [Completed item — remove on next update]
### Mental State
[Optional: How are you feeling about work?]
---
## Quick Reference
### Key Meetings This Week
- [Day]: [Meeting] with [Person] about [Topic]
### Papers in Active Revision
- [Paper title] - [Journal] - [Stage]
---
Read these three sources to understand what happened:
.context/current-focus.md — current file contentslog/ — most recent session log (if one was created)git log --oneline -10 — recent commits for concrete evidence of work doneAlso note today's date for week rollover detection.
Compare the w/c date in ## This Week's Focus (w/c YYYY-MM-DD) against today's date.
Week rollover means: Primary Goal, Active Projects Top 3, Waiting On, Upcoming Deadlines, and Key Meetings may all need refreshing.
From the session context (conversation history, commits, log), draft a summary in the same bullet-point format as existing entries:
### Last Session Summary (YYYY-MM-DD — [Short Title])
- [What was done, in bullet points]
- [Key decisions or outputs]
- [Files/commits if relevant]
Keep it concise — 3-6 bullet points. Match the style of existing entries.
Ask only what's needed. Skip questions where the answer is obvious from context.
Always ask:
Ask only if relevant:
3. "How are you feeling about work?" — only if Mental State is still a placeholder ([Optional: ...])
4. "Has your primary goal or top 3 changed?" — only on week rollover
Present questions concisely with proposed answers. Let the user confirm or adjust.
Use Edit to make targeted changes. Never rewrite the whole file.
### Last Session Summary (...) to ### Previous Session (...)### Last Session Summary (...) in its place### Last Session Summary (YYYY-MM-DD — Title) for the newest, ### Previous Session (YYYY-MM-DD — Title) for older ones- [ ] to - [x])[x] from previous sessions (they've been acknowledged)Things I started but haven't finished:Report what was changed:
Updated .context/current-focus.md:
- Session: [title] added to Recent Context
- Open loops: [N checked off, M added]
- [Any other changes]
If no session log was created this session, offer: "Want me to run /session-log too?"
| Skill | Relationship |
|---|---|
/session-log | Creates the detailed log; /update-focus updates the working memory. Often run together. |
/save-context | For ad-hoc saves to any context file. Defers to /update-focus for structured focus updates. |
vault sync (edit vault files directly) | Updates projects/_index.md and vault. For full session-level focus updates, defers to /update-focus. |
Claude: Here's what I'd update in current-focus.md:
Session summary:
### Last Session Summary (2026-02-08 — Update Focus Skill)
- Created `/update-focus` skill for structured current-focus.md updates
- Updated stop hook, session-log, and update-context with cross-references
- Updated CLAUDE.md skills list (16 → 17)
Open loops — proposed changes:
/update-focus skill end-to-endDoes this look right? Any open loops to add or change?
the user: Looks good, also check off the replication one, I decided to skip it.
Claude: Got it. [Applies edits] Updated .context/current-focus.md:
Want me to run /session-log too?