360 Secure SkillHub
360 安全技能中心

workflow-from-chats

扫描近期 Cursor 父会话与子会话记录,提取明确的偏好、纠正和决策规则,按置信度聚类,输出偏好画像、采纳建议和拟建技能、规则或流程文档;不总结聊天,不暴露敏感信息。

cursor
热度 25.77
最近更新 2026-10-19 06:48:39
分类:知识依赖:纯提示词应用场景:工作流 / 研究 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cursor/plugins/workflow-from-chats
Metadata
name
workflow-from-chats
description
Extract durable working preferences from recent Cursor chats and convert them into skills, rules, or workflow docs. Use when asked to learn preferences, mine feedback, personalize workflows, or generate team/person-specific agent guidance.

Workflow From Chats

Infer durable working preferences from recent chats. Do not summarize chats; extract reusable workflow guidance.

Scope

  • Default to the last 7 days unless the user asks for a different window.
  • Read parent transcripts and relevant subagent transcripts. Use subagent content as evidence, but cite only parent conversations.
  • Do not expose local transcript paths, secrets, customer data, private chat content, or credentials.

Workflow

  1. State the target workflow or preference surface in one paragraph.
  2. Build an internal transcript inventory: title/topic, parent conversation ID, approximate date, completion state, relevant subagents, and why it may contain preference evidence.
  3. Scan for explicit preferences, corrections, and workflow markers such as "I prefer", "always", "never", "not what I asked", "stop", "review", "PR", "CI", "logs", and "skill".
  4. Extract preference atoms: trigger, workflow step, decision rule, quality bar, stop condition, evidence, and confidence.
  5. Rate confidence as strong, medium, weak, or contradicted.
  6. Cluster by workflow shape rather than transcript: shipping, review, simplification, debugging, capture, communication, delegation, or validation.
  7. Choose the artifact: new skill, skill edit, rule, workflow doc, or no artifact.
  8. Draft only the reusable guidance. Filter anecdotes that will not help future tasks.

Confidence

  • Strong: explicit user preference, workflow-changing correction, repeated parent-chat pattern, or direct request to encode behavior.
  • Medium: accepted workflow, repeated tool/model/validation preference, or subagent consensus that the parent used successfully.
  • Weak: agent-chosen behavior with no user feedback, one ambiguous transcript, or a likely task-specific correction.
  • Contradicted: evidence points in incompatible directions; ask the user before writing files.

Artifact Choice

  • Skill: recurring multi-step workflow with clear triggers.
  • Rule: general behavior that should apply broadly.
  • Workflow doc: useful context that is not reliably triggerable.
  • No artifact: situational, stale, or low-confidence observation.

Output

Return a concise synthesis first:

  • Target workflow.
  • Evidence corpus with parent conversation citations only.
  • Preference profile.
  • Adopt, consider, dismissed.
  • Proposed artifacts.
  • Open questions only if they block writing.