Next 标志

Next

组织热门
agenticnotetaking
next

Surface the most valuable next action by combining task stack, queue state, inbox pressure, health, and goals. Recommends one specific action with rationale. Triggers on "/next", "what should I do", "what's next".

Add to TypingMind

概览

发布者agenticnotetaking
代码仓库arscontexta
技能名称next
星标数
3.5K
复刻数
226
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 agenticnotetaking 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Next AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/agenticnotetaking/arscontexta/tree/main/skill-sources/next
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/agenticnotetaking/arscontexta.git /tmp/arscontexta
mkdir -p .claude/skills
cp -r /tmp/arscontexta/skill-sources/next .claude/skills/next
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Next,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Next。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Next 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Runtime Configuration (Step 0 — before any processing)

Read these files to configure domain-specific behavior:

  1. ops/derivation-manifest.md — vocabulary mapping, domain context

    • Use vocabulary.notes for the notes folder name
    • Use vocabulary.inbox for the inbox folder name
    • Use vocabulary.note for the note type name in output
    • Use vocabulary.topic_map for MOC references
    • Use vocabulary.cmd_reduce for process/extract command
    • Use vocabulary.cmd_reflect for connection-finding command
    • Use vocabulary.cmd_reweave for backward-pass command
    • Use vocabulary.rethink for rethink command name
  2. ops/config.yaml — thresholds, processing preferences

    • self_evolution.observation_threshold (default: 10)
    • self_evolution.tension_threshold (default: 5)

If these files don't exist, use universal defaults and generic command names.

EXECUTE NOW

INVARIANT: /next recommends, it does not execute. Present one recommendation with rationale. The user decides what to do. This prevents cognitive outsourcing where the system makes all work decisions and the user becomes a rubber stamp.

Execute these steps IN ORDER:


Step 1: Read Vocabulary

Read ops/derivation-manifest.md (or fall back to ops/derivation.md) for domain vocabulary mapping. All output must use domain-native terms. If neither file exists, use universal terms (notes, inbox, topic map, etc).


Step 2: Reconcile Maintenance Queue

Before collecting state, evaluate all maintenance conditions and reconcile the queue. This ensures maintenance tasks are current before the recommendation engine runs.

Read queue file (ops/queue/queue.json or ops/queue.yaml). If schema_version < 3, migrate:

  • Add maintenance_conditions section with default thresholds
  • Add priority field to existing tasks (default: "pipeline")
  • Set schema_version: 3

For each condition in maintenance_conditions:

  1. Evaluate the condition:
ConditionEvaluation Method
orphan_notesFor each note in {vocabulary.notes}/, count incoming [[links]]. Zero = orphan.
dangling_linksExtract all [[links]], verify targets exist as files. Missing = dangling.
inbox_pressureCount *.md in {vocabulary.inbox}/.
observation_accumulationCount status: pending in ops/observations/.
tension_accumulationCount status: pending or open in ops/tensions/.
pipeline_stalledQueue tasks with status: pending unchanged across sessions.
unprocessed_sessionsCount files in ops/sessions/ without mined: true.
moc_oversizeFor each topic map, count linked notes.
stale_notesNotes not modified in 30+ days with < 2 links.
low_link_densityAverage link count across all notes.
methodology_driftCompare config.yaml modification time vs newest ops/methodology/ note modification time. If config is newer, methodology may be stale.
  1. If condition exceeds threshold AND no pending task with this condition_key exists:

Create maintenance task:

bash
TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
MAINT_MAX=$(jq '[.tasks[] | select(.id | startswith("maint-")) | .id | ltrimstr("maint-") | tonumber] | max // 0' ops/queue/queue.json)
NEXT_MAINT=$((MAINT_MAX + 1))

jq --arg id "maint-$(printf '%03d' $NEXT_MAINT)" \
   --arg priority "{priority}" \
   --arg key "{condition_key}" \
   --arg target "{description}" \
   --arg action "{recommended command}" \
   --arg ts "$TIMESTAMP" \
   '.tasks += [{"id": $id, "type": "maintenance", "priority": $priority, "status": "pending", "condition_key": $key, "target": $target, "action": $action, "auto_generated": true, "created": $ts}]' \
   ops/queue/queue.json > tmp.json && mv tmp.json ops/queue/queue.json
  1. If condition is satisfied AND a pending task with this condition_key exists:

Auto-close it:

bash
TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
jq --arg key "{condition_key}" --arg ts "$TIMESTAMP" \
   '(.tasks[] | select(.condition_key == $key and .status == "pending")).status = "done" |
    (.tasks[] | select(.condition_key == $key and .status == "pending")).completed = $ts' \
    ops/queue/queue.json > tmp.json && mv tmp.json ops/queue/queue.json
  1. If condition fires AND a pending task already exists:

Update the target description (specifics may have changed):

bash
jq --arg key "{condition_key}" --arg target "{new description}" \
   '(.tasks[] | select(.condition_key == $key and .status == "pending")).target = $target' \
   ops/queue/queue.json > tmp.json && mv tmp.json ops/queue/queue.json

Step 3: Collect Vault State

Gather all signals. Run independent checks in parallel where possible. Record each signal even if the check returns zero — absence of signal is itself informative.

SignalHow to CheckWhat to Record
Task stackRead ops/tasks.md — current priorities and open itemsTop items, open count, any deadlines
Queue stateRead ops/queue.yaml or ops/queue/queue.json — pending pipeline tasksTotal pending, by phase (create, reflect, reweave, verify), blocked phases
Inbox pressureCount *.md files in {vocabulary.inbox}/, find oldest by mtimeCount per subdirectory, age of oldest item in days
Note countCount *.md in {vocabulary.notes}/Total notes for context
Orphan notesFor each note, grep for [[filename]] across all files — zero hits = orphanCount, first 5 names
Dangling linksExtract all [[links]] from notes/, verify each target file existsCount, first 5 targets
Stale notesNotes not modified recently AND with low link density (< 2 links)Count
GoalsRead self/goals.md or ops/goals.md — current priorities, active threadsPriority list, active research directions
ObservationsCount files with status: pending in ops/observations/Count
TensionsCount files with status: pending or status: open in ops/tensions/Count
MethodologyCheck ops/methodology/ for recent captures (files modified in last 7 days)Count of recent, total count
HealthRead most recent report in ops/health/ — note timestamp and issuesLast run date, issue count, any critical issues
SessionsCheck ops/sessions/ for files without mined: true in frontmatterCount of unmined sessions
Recent /nextRead ops/next-log.md (if exists) — last 3 recommendationsPrevious suggestions to avoid repetition

Adaptation rules:

  • Directory names adapt to domain vocabulary (e.g., {vocabulary.inbox} instead of hardcoded "inbox")
  • Skip checks silently for directories that do not exist — do not report "ops/sessions/ not found"
  • A missing directory means that feature is not active, which is valid state

Signal collection commands:

bash
# Inbox pressure (adapt path to vocabulary)
INBOX_COUNT=$(find {vocabulary.inbox}/ -name "*.md" -maxdepth 2 2>/dev/null | wc -l | tr -d ' ')
OLDEST_INBOX=$(find {vocabulary.inbox}/ -name "*.md" -maxdepth 2 -exec stat -f "%m %N" {} \; 2>/dev/null | sort -n | head -1)

# Note count
NOTE_COUNT=$(ls -1 {vocabulary.notes}/*.md 2>/dev/null | wc -l | tr -d ' ')

# Pending observations
OBS_COUNT=$(grep -rl '^status: pending' ops/observations/ 2>/dev/null | wc -l | tr -d ' ')

# Pending tensions
TENSION_COUNT=$(grep -rl '^status: pending\|^status: open' ops/tensions/ 2>/dev/null | wc -l | tr -d ' ')

# Unmined sessions
SESSION_COUNT=$(grep -rL '^mined: true' ops/sessions/*.md 2>/dev/null | wc -l | tr -d ' ')

Step 4: Classify by Consequence Speed

Evaluate every signal against consequence speed — how fast does inaction degrade the system?

SpeedSignalsThresholdWhy This Priority
SessionInbox > 5 items, orphan notes (any), dangling links (any), 10+ pending observations, 5+ pending tensions, unprocessed sessions > 3Immediate — these degrade work quality right nowOrphans are invisible to traversal. Dangling links confuse navigation. Inbox pressure means lost ideas. Observation/tension thresholds mean the system is accumulating unprocessed friction.
Multi-sessionPipeline queue backlog > 10, research gaps identified in goals, stale notes > 10, inbox items aging > 7 days, methodology captures > 5 in same categorySoon — these compound over daysUnfinished pipeline batches block downstream connections. Stale notes represent decaying knowledge. Aging inbox means capture is outpacing processing.
SlowHealth check not run in 14+ days, {DOMAIN:topic map} oversized (>40 notes), link density below 2.0 average, low note count relative to timeBackground — annoying but not blockingThese are maintenance tasks. Important for long-term health but not urgent.

Threshold rule: 10+ pending observations OR 5+ pending tensions is ALWAYS session-priority. Recommend {DOMAIN:rethink} in this case.

Signal interaction rules:

  • Task stack items ALWAYS override automated recommendations (user-set priorities beat system-detected urgency)
  • Multiple session-priority signals: pick the one with highest impact (most items affected)
  • If inbox pressure AND queue backlog: recommend reducing inbox first (pipeline needs input before it can process)

Step 5: Generate Recommendation

Select the SINGLE most valuable action. The recommendation must be specific enough to execute immediately — a concrete command invocation, not a vague suggestion.

Priority cascade:

1. Task Stack First

If ops/tasks.md has open items, recommend from the task stack. User-set priorities override all automated recommendations because:

  • The user has context the system does not
  • Ignoring explicit priorities erodes trust
  • Task stack items represent deliberate decisions, not automated detection

Format: Recommend the specific task with context about why it was in the stack.

1.5. Session-Priority Maintenance Tasks

Read queue for maintenance tasks with priority: "session" and status: "pending". These represent vault health conditions that degrade THIS session.

Pick the highest-impact one:

  • orphan_notes: "{N} notes invisible to traversal"
  • dangling_links: "{N} broken links confusing navigation"
  • inbox_pressure: "{N} items aging in inbox"

Recommend the action field from the queue entry.

2. Session-Priority Signals

If no task stack items, pick the highest-impact session-priority signal:

SignalRecommendationRationale Template
Dangling links / orphans/health or specific fix command"You have [N] orphan notes invisible to traversal. Connecting them increases graph density and retrieval quality."
10+ observations or 5+ tensions/{DOMAIN:rethink}"[N] pending observations have accumulated. Pattern detection requires processing this backlog to evolve the system."
Inbox > 5 items/{DOMAIN:reduce} [specific file]"Your inbox has [N] items (oldest: [age]). [File X] has the highest connection potential based on [reason]."
Unprocessed sessions > 3/remember --mine-sessions"[N] sessions have uncaptured friction patterns. Mining them prevents methodology regressions."

When recommending inbox processing: Choose the specific inbox item that aligns best with current goals or has the most connection potential to existing notes. Recommend a concrete file, not "process some inbox."

3. Multi-Session Signals

If no session-priority items:

SignalRecommendationRationale Template
Queue backlog > 10/ralph [N]"[N] pipeline tasks are pending. Your newest {DOMAIN:notes} lack connections, which means they can't participate in synthesis."
Stale notes > 10/{DOMAIN:reweave} [specific note]"[N] notes haven't been touched since [date]. [Note X] has the most connections and would benefit most from updating."
Research gaps/{DOMAIN:reduce} [file aligned with goals]"Your goals mention [topic] but your graph has few notes there. [Inbox item] addresses this gap."
Methodology convergence/{DOMAIN:rethink}"[N] methodology captures in the [category] area suggest a pattern worth elevating."

When recommending reweaving: Choose the most-connected stale note (highest link density + oldest modification). Reweaving high-connectivity notes has the highest ripple effect.

4. Slow Signals

If nothing pressing:

SignalRecommendationRationale Template
No recent health check/health"Last health check was [date]. Running one now catches structural issues before they compound."
Topic map oversizedRestructuring suggestion"[Topic map X] has [N] notes. Splitting into sub-topic-maps improves navigation and reduces cognitive load."
Low link density/{DOMAIN:reweave} on lowest-density note"Your graph has an average link density of [N]. Reweaving sparse notes increases traversal paths."
5. Everything Clean

If all signals are healthy:

next

  All signals healthy.
  Inbox: 0 | Queue: 0 pending | Orphans: 0 | Dangling: 0

  No urgent work detected.

  Suggested: Explore a new direction from goals.md
  or reweave older {DOMAIN:notes} to deepen the graph.

Rationale is always mandatory. Every recommendation must explain:

  1. WHY this action over alternatives
  2. What DEGRADES if this action is deferred
  3. How it connects to goals (if applicable)

Step 6: Deduplicate

Read ops/next-log.md (if it exists). Check the last 3 entries.

Deduplication rules:

  • If the same recommendation appeared in the last 2 entries, select the next-best action instead
  • This prevents the system from getting stuck recommending the same thing repeatedly when the user has chosen not to act on it
  • If the same recommendation is genuinely the highest priority (e.g., inbox pressure keeps growing), add an explicit note: "This was recommended previously. The signal has grown stronger since then ([before] → [now])."

Step 7: Output

next

  State:
    Inbox: [count] items (oldest: [age])
    Queue: [count] pending ([phase breakdown])
    Orphans: [count] | Dangling: [count]
    Observations: [count] | Tensions: [count]
    [any other decision-relevant signals]

  Recommended: [specific command/action]

  Rationale: [2-3 sentences — why this action,
  how it connects to goals, what degrades if deferred]

  After that: [second priority, if relevant]
  [optional: alignment with goals.md priority]

Command specificity is mandatory. Recommendations must be concrete invocations:

GoodBad
/{DOMAIN:reduce} inbox/article-on-spaced-repetition.md"process some inbox items"
/ralph 5"work on the queue"
/{DOMAIN:rethink}"review your observations"
/{DOMAIN:reweave} [[note title here]]"update some old notes"

State display rules:

  • Show only 2-4 decision-relevant signals — not all 14 checks
  • Zero-count signals that are healthy can be omitted (don't show "Orphans: 0" unless contrasting with a problem)
  • Non-zero signals at session or multi-session priority should always be shown

Step 8: Log the Recommendation

Append to ops/next-log.md (create if missing):

markdown
## YYYY-MM-DD HH:MM

**State:** Inbox: [N] | Notes: [N] | Orphans: [N] | Dangling: [N] | Stale: [N] | Obs: [N] | Tensions: [N] | Queue: [N]
**Recommended:** [action]
**Rationale:** [one sentence]
**Priority:** session | multi-session | slow

Why log? The log serves three purposes:

  1. Deduplication — prevents recommending the same action repeatedly
  2. Evolution tracking — shows what signals have been persistent vs transient
  3. /rethink evidence — persistent recommendations that go unacted-on may reveal misalignment between what the system detects and what the user values

Edge Cases

Empty Vault (0-5 notes)

Recommend capturing or reducing content. Maintenance is premature with < 5 notes — the graph does not have enough nodes for meaningful analysis.

next

  State:
    Notes: [N] — early stage vault

  Recommended: Capture or /{DOMAIN:reduce} content
  Rationale: Your graph has [N] notes. At this stage, adding
  content matters more than maintaining structure. Health checks,
  reweaving, and rethink become valuable after ~10 notes.

Everything Clean

Say so explicitly. Recommend exploratory work aligned with goals, or reflective work on older notes:

  No urgent work detected. Consider:
  - Exploring a research direction from goals.md
  - Reweaving older {DOMAIN:notes} to deepen connections
  - Reviewing and updating goals.md itself

No Goals File

Recommend creating self/goals.md or ops/goals.md first. Without priorities, recommendations lack grounding and the system cannot distinguish between "important to the user" and "detected by automation."

  Recommended: Create ops/goals.md
  Rationale: Without goals, /next can only recommend based on
  automated detection. Goals let the system align recommendations
  with what actually matters to you.

No ops/derivation-manifest.md

Use universal vocabulary. Do not fail — /next should always produce a recommendation regardless of configuration state.

Queue Not Active

Skip queue checks silently. Not all vaults use the pipeline architecture — some rely on manual processing. Do not report "queue not found" as an issue.

Multiple Session-Priority Signals

When several signals are at session priority simultaneously, pick the one that unblocks the most downstream work:

  • Dangling links block graph traversal → fix first
  • Observation threshold → rethink prevents methodology drift
  • Inbox pressure → processing prevents idea loss

If genuinely equal priority, pick the one the user has not been recommended recently (check next-log.md).

Stale /next Log

If ops/next-log.md has not been updated in 14+ days, the user may not be running /next regularly. Note this but do not make it a recommendation — /next is optional, not mandatory.


Anti-Patterns

These are patterns that /next must avoid:

Anti-PatternWhy It Is WrongWhat to Do Instead
Recommending everythingOverwhelms the user, defeats the purpose of "single most valuable action"Pick ONE. Mention a second only as "after that"
Vague recommendations"Process inbox" gives no actionable starting pointName the specific file, note, or command
Ignoring task stackUser-set priorities exist for a reasonAlways check ops/tasks.md first
Repeating the same recIf the user did not act on it, recommending it again is naggingDeduplicate via next-log.md
Recommending maintenance too earlyA 5-note vault does not need health checksScale recommendations to vault maturity
Cognitive outsourcingMaking all decisions for the userRecommend and explain — never execute

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Next AI 技能有什么作用?

Surface the most valuable next action by combining task stack, queue state, inbox pressure, health, and goals. Recommends one specific action with rationale. Triggers on "/next", "what should I do", "what's next".

为什么在 TypingMind 中使用 Next?

因为您只需安装一次,就能搭配任何模型使用。Next 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Next?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/agenticnotetaking/arscontexta/tree/main/skill-sources/next。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Next?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Next 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Next 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Next AI 技能免费吗?

是的。agenticnotetaking 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇