feedback

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Feedback - Manage Learning System

反馈 - 管理学习系统

View and manage the OrchestKit feedback system that learns from your usage.
查看并管理从你的使用行为中学习的OrchestKit反馈系统。

Overview

概述

  • Checking feedback system status
  • Pausing/resuming learning
  • Resetting learned patterns
  • Exporting feedback data
  • Managing privacy settings
  • Enabling/disabling anonymous analytics sharing
  • Viewing privacy policy
  • 查看反馈系统状态
  • 暂停/恢复学习功能
  • 重置已学习的模式
  • 导出反馈数据
  • 管理隐私设置
  • 启用/禁用匿名分析数据共享
  • 查看隐私政策

Usage

使用方法

/feedback                    # Same as status
/feedback status             # Show current state
/feedback pause              # Pause learning
/feedback resume             # Resume learning
/feedback reset              # Clear learned patterns
/feedback export             # Export feedback data
/feedback settings           # Show/edit settings
/feedback opt-in             # Enable anonymous sharing
/feedback opt-out            # Disable anonymous sharing
/feedback privacy            # View privacy policy
/feedback export-analytics   # Export anonymous analytics for review
/feedback                    # 与status命令功能相同
/feedback status             # 显示当前状态
/feedback pause              # 暂停学习
/feedback resume             # 恢复学习
/feedback reset              # 清除已学习的模式
/feedback export             # 导出反馈数据
/feedback settings           # 查看/编辑设置
/feedback opt-in             # 启用匿名数据共享
/feedback opt-out            # 禁用匿名数据共享
/feedback privacy            # 查看隐私政策
/feedback export-analytics   # 导出匿名分析数据以供审核

Subcommands

子命令

status (default)

status(默认)

Show the current feedback system state.
Output:
Feedback System Status
-----------------------------
Learning: Enabled
Anonymous sharing: Disabled
Data retention: 90 days

Learned Patterns:
- Auto-approves: npm install, npm test, git push (3 commands)
- Code style: async/await preferred, TypeScript strict mode

Agent Performance:
- backend-architect: 94% success (28 spawns) [improving]
- test-generator: 72% success (18 spawns) [declining]

Context Savings: ~8k tokens/session (estimated)

Storage: .claude/feedback/ (45 KB)
显示当前反馈系统状态。
输出:
Feedback System Status
-----------------------------
Learning: Enabled
Anonymous sharing: Disabled
Data retention: 90 days

Learned Patterns:
- Auto-approves: npm install, npm test, git push (3 commands)
- Code style: async/await preferred, TypeScript strict mode

Agent Performance:
- backend-architect: 94% success (28 spawns) [improving]
- test-generator: 72% success (18 spawns) [declining]

Context Savings: ~8k tokens/session (estimated)

Storage: .claude/feedback/ (45 KB)

pause

pause

Temporarily pause all learning without clearing data.
Action:
  1. Set
    pausedUntil
    in preferences to a far future date
  2. Confirm to user
Output:
Feedback learning paused

Your existing patterns are preserved.
Resume with: /feedback resume
临时暂停所有学习功能,不清除现有数据。
操作:
  1. 将偏好设置中的
    pausedUntil
    设为一个遥远的未来日期
  2. 向用户确认操作结果
输出:
Feedback learning paused

Your existing patterns are preserved.
Resume with: /feedback resume

resume

resume

Resume paused learning.
Action:
  1. Clear
    pausedUntil
    in preferences
  2. Confirm to user
Output:
Feedback learning resumed

The system will continue learning from your usage.
恢复已暂停的学习功能。
操作:
  1. 清除偏好设置中的
    pausedUntil
  2. 向用户确认操作结果
输出:
Feedback learning resumed

The system will continue learning from your usage.

reset

reset

Clear all learned patterns (requires confirmation).
Action:
  1. Show what will be deleted
  2. Ask for confirmation (user must type "RESET")
  3. If confirmed, clear patterns file but keep preferences
Output (before confirmation):
WARNING: This will clear all learned patterns:

- 5 auto-approve permission rules
- 3 code style preferences
- Agent performance history

Your preferences (enabled, sharing, retention) will be kept.

To confirm, respond with exactly: RESET
To cancel, respond with anything else.
Output (after confirmation):
Feedback data reset

- Cleared 5 permission patterns
- Cleared 3 style preferences
- Cleared agent metrics

Learning will start fresh from now.
清除所有已学习的模式(需要确认)。
操作:
  1. 显示将被删除的内容
  2. 请求用户确认(必须输入"RESET")
  3. 若确认,清除模式文件但保留偏好设置
确认前输出:
WARNING: This will clear all learned patterns:

- 5 auto-approve permission rules
- 3 code style preferences
- Agent performance history

Your preferences (enabled, sharing, retention) will be kept.

To confirm, respond with exactly: RESET
To cancel, respond with anything else.
确认后输出:
Feedback data reset

- Cleared 5 permission patterns
- Cleared 3 style preferences
- Cleared agent metrics

Learning will start fresh from now.

export

export

Export all feedback data to a JSON file.
Action:
  1. Read all feedback files
  2. Combine into single export
  3. Write to
    .claude/feedback/export-{date}.json
Output:
Exported feedback data to:
   .claude/feedback/export-2026-01-14.json

Contains:
- 5 learned permission patterns
- 3 code style preferences
- 8 skill usage metrics
- 4 agent performance records

File size: 12 KB
将所有反馈数据导出为JSON文件。
操作:
  1. 读取所有反馈文件
  2. 合并为单个导出文件
  3. 写入至
    .claude/feedback/export-{date}.json
输出:
Exported feedback data to:
   .claude/feedback/export-2026-01-14.json

Contains:
- 5 learned permission patterns
- 3 code style preferences
- 8 skill usage metrics
- 4 agent performance records

File size: 12 KB

settings

settings

Show current settings with option to change.
Output:
Feedback Settings
-----------------------------
enabled:              true   (master switch)
learnFromEdits:       true   (learn from code edits)
learnFromApprovals:   true   (learn from permissions)
learnFromAgentOutcomes: true (track agent success)
shareAnonymized:      false  (share anonymous stats)
retentionDays:        90     (data retention period)

To change a setting, use:
  /feedback settings <key> <value>

Example:
  /feedback settings retentionDays 30
显示当前设置并提供修改选项。
输出:
Feedback Settings
-----------------------------
enabled:              true   (master switch)
learnFromEdits:       true   (learn from code edits)
learnFromApprovals:   true   (learn from permissions)
learnFromAgentOutcomes: true (track agent success)
shareAnonymized:      false  (share anonymous stats)
retentionDays:        90     (data retention period)

To change a setting, use:
  /feedback settings <key> <value>

Example:
  /feedback settings retentionDays 30

opt-in

opt-in

Enable anonymous analytics sharing. Records GDPR-compliant consent.
Action:
  1. Record consent in consent-log.json with timestamp and policy version
  2. Set shareAnonymized = true in preferences
  3. Confirm to user
Output:
Anonymous analytics sharing enabled.

What we share (anonymized):
  - Skill usage counts and success rates
  - Agent performance metrics
  - Hook trigger counts

What we NEVER share:
  - Your code or file contents
  - Project names or paths
  - Personal information
  - mem0 memory data

Disable anytime: /feedback opt-out
启用匿名分析数据共享。记录符合GDPR要求的同意信息。
操作:
  1. 在consent-log.json中记录带有时间戳和政策版本的同意信息
  2. 将偏好设置中的shareAnonymized设为true
  3. 向用户确认操作结果
输出:
Anonymous analytics sharing enabled.

What we share (anonymized):
  - Skill usage counts and success rates
  - Agent performance metrics
  - Hook trigger counts

What we NEVER share:
  - Your code or file contents
  - Project names or paths
  - Personal information
  - mem0 memory data

Disable anytime: /feedback opt-out

opt-out

opt-out

Disable anonymous analytics sharing. Revokes consent.
Action:
  1. Record revocation in consent-log.json with timestamp
  2. Set shareAnonymized = false in preferences
  3. Confirm to user
Output:
Anonymous analytics sharing disabled.

Your feedback data stays completely local.
No usage data is shared.

Re-enable anytime: /feedback opt-in
禁用匿名分析数据共享。撤销同意信息。
操作:
  1. 在consent-log.json中记录带有时间戳的撤销信息
  2. 将偏好设置中的shareAnonymized设为false
  3. 向用户确认操作结果
输出:
Anonymous analytics sharing disabled.

Your feedback data stays completely local.
No usage data is shared.

Re-enable anytime: /feedback opt-in

privacy

privacy

Display the full privacy policy for anonymous analytics.
Action:
  1. Display comprehensive privacy documentation
  2. Show what's collected, what's never collected
  3. Explain data protection measures
Output:
═══════════════════════════════════════════════════════════════════
              ORCHESTKIT ANONYMOUS ANALYTICS PRIVACY POLICY
═══════════════════════════════════════════════════════════════════

WHAT WE COLLECT (only with your consent)
────────────────────────────────────────────────────────────────────

  ✓ Skill usage counts        - e.g., "api-design used 45 times"
  ✓ Skill success rates       - e.g., "92% success rate"
  ✓ Agent spawn counts        - e.g., "backend-architect spawned 8 times"
  ✓ Agent success rates       - e.g., "88% tasks completed successfully"
  ✓ Hook trigger counts       - e.g., "git-branch-protection triggered 120 times"
  ✓ Hook block counts         - e.g., "blocked 5 potentially unsafe commands"
  ✓ Plugin version            - e.g., "4.12.0"
  ✓ Report date               - e.g., "2026-01-14" (date only, no time)


WHAT WE NEVER COLLECT
────────────────────────────────────────────────────────────────────

  ✗ Your code or file contents
  ✗ Project names, paths, or directory structure
  ✗ User names, emails, or any personal information
  ✗ IP addresses (stripped at network layer)
  ✗ mem0 memory data or conversation history
  ✗ Architecture decisions or design documents
  ✗ API keys, tokens, or credentials
  ✗ Git history or commit messages
  ✗ Any data that could identify you or your projects


YOUR RIGHTS
────────────────────────────────────────────────────────────────────

  • Opt-out anytime:     /feedback opt-out
  • View your data:      /feedback export-analytics
  • Check status:        /feedback status
  • View this policy:    /feedback privacy
显示匿名分析数据的完整隐私政策。
操作:
  1. 展示全面的隐私文档
  2. 说明收集的内容和绝不会收集的内容
  3. 解释数据保护措施
输出:
═══════════════════════════════════════════════════════════════════
              ORCHESTKIT ANONYMOUS ANALYTICS PRIVACY POLICY
═══════════════════════════════════════════════════════════════════

WHAT WE COLLECT (only with your consent)
────────────────────────────────────────────────────────────────────

  ✓ Skill usage counts        - e.g., "api-design used 45 times"
  ✓ Skill success rates       - e.g., "92% success rate"
  ✓ Agent spawn counts        - e.g., "backend-architect spawned 8 times"
  ✓ Agent success rates       - e.g., "88% tasks completed successfully"
  ✓ Hook trigger counts       - e.g., "git-branch-protection triggered 120 times"
  ✓ Hook block counts         - e.g., "blocked 5 potentially unsafe commands"
  ✓ Plugin version            - e.g., "4.12.0"
  ✓ Report date               - e.g., "2026-01-14" (date only, no time)


WHAT WE NEVER COLLECT
────────────────────────────────────────────────────────────────────

  ✗ Your code or file contents
  ✗ Project names, paths, or directory structure
  ✗ User names, emails, or any personal information
  ✗ IP addresses (stripped at network layer)
  ✗ mem0 memory data or conversation history
  ✗ Architecture decisions or design documents
  ✗ API keys, tokens, or credentials
  ✗ Git history or commit messages
  ✗ Any data that could identify you or your projects


YOUR RIGHTS
────────────────────────────────────────────────────────────────────

  • Opt-out anytime:     /feedback opt-out
  • View your data:      /feedback export-analytics
  • Check status:        /feedback status
  • View this policy:    /feedback privacy

export-analytics

export-analytics

Export anonymous analytics data to a file for review before sharing.
Usage:
/feedback export-analytics [path]
If no path is provided, exports to
.claude/feedback/analytics-exports/
with a timestamp.
Output:
Analytics exported to: .claude/feedback/analytics-exports/analytics-export-20260114-120000.json

Contents preview:
-----------------
Date: 2026-01-14
Plugin Version: 4.12.0

Summary:
  Skills used: 8
  Skill invocations: 45
  Agents used: 3
  Agent spawns: 12
  Hooks configured: 5

Please review the exported file before sharing.
Export Format:
json
{
  "timestamp": "2026-01-14",
  "plugin_version": "4.12.0",
  "skill_usage": {
    "api-design-framework": { "uses": 12, "success_rate": 0.92 }
  },
  "agent_performance": {
    "backend-system-architect": { "spawns": 8, "success_rate": 0.88 }
  },
  "hook_metrics": {
    "git-branch-protection": { "triggered": 45, "blocked": 3 }
  },
  "summary": {
    "unique_skills_used": 8,
    "unique_agents_used": 3,
    "hooks_configured": 5,
    "total_skill_invocations": 45,
    "total_agent_spawns": 12
  },
  "metadata": {
    "exported_at": "2026-01-14T12:00:00Z",
    "format_version": "1.0",
    "note": "Review before sharing"
  }
}
导出匿名分析数据至文件,以便在共享前审核。
使用方法:
/feedback export-analytics [path]
若未提供路径,则导出至
.claude/feedback/analytics-exports/
目录并带有时间戳。
输出:
Analytics exported to: .claude/feedback/analytics-exports/analytics-export-20260114-120000.json

Contents preview:
-----------------
Date: 2026-01-14
Plugin Version: 4.12.0

Summary:
  Skills used: 8
  Skill invocations: 45
  Agents used: 3
  Agent spawns: 12
  Hooks configured: 5

Please review the exported file before sharing.
导出格式:
json
{
  "timestamp": "2026-01-14",
  "plugin_version": "4.12.0",
  "skill_usage": {
    "api-design-framework": { "uses": 12, "success_rate": 0.92 }
  },
  "agent_performance": {
    "backend-system-architect": { "spawns": 8, "success_rate": 0.88 }
  },
  "hook_metrics": {
    "git-branch-protection": { "triggered": 45, "blocked": 3 }
  },
  "summary": {
    "unique_skills_used": 8,
    "unique_agents_used": 3,
    "hooks_configured": 5,
    "total_skill_invocations": 45,
    "total_agent_spawns": 12
  },
  "metadata": {
    "exported_at": "2026-01-14T12:00:00Z",
    "format_version": "1.0",
    "note": "Review before sharing"
  }
}

What We Share (When Opted In)

启用共享时我们会发送的数据

Anonymous analytics include only aggregated, non-identifiable data:
Data TypeWhat's IncludedWhat's NOT Included
SkillsUsage counts, success ratesFile paths, code content
AgentsSpawn counts, success ratesProject names, decisions
HooksTrigger/block countsCommand content, paths
匿名分析数据仅包含聚合的、无法识别身份的信息:
数据类型包含内容不包含内容
技能使用次数、成功率文件路径、代码内容
智能体生成次数、成功率项目名称、决策内容
钩子触发/拦截次数命令内容、路径

What We NEVER Share

我们绝不会发送的数据

The following are blocked by design and never included in analytics:
  • Project names, paths, or directory structure
  • File contents, code, or diffs
  • Decision content or context
  • User identity, email, or credentials
  • mem0 memory data
  • URLs, IP addresses, or hostnames
  • Any strings that could identify the project or user
以下内容从设计上被阻止,绝不会包含在分析数据中:
  • 项目名称、路径或目录结构
  • 文件内容、代码或差异
  • 决策内容或上下文
  • 用户身份、邮箱或凭证
  • mem0内存数据
  • URL、IP地址或主机名
  • 任何可识别项目或用户的字符串

Consent Management

同意管理

Consent is managed per GDPR requirements:
  1. Explicit opt-in required - No data shared until you actively consent
  2. Audit trail - All consent actions logged in
    consent-log.json
  3. Easy revocation - Opt-out is as easy as opt-in
  4. Version tracking - Consent version tracked for policy changes
同意管理符合GDPR要求:
  1. 需要明确主动同意 - 在你主动同意前不会共享任何数据
  2. 审计跟踪 - 所有同意操作都会记录在
    consent-log.json
  3. 轻松撤销 - 退出同意和加入同意一样简单
  4. 版本跟踪 - 会跟踪同意版本以适配政策变更

Security Note

安全说明

The following commands are NEVER auto-approved regardless of learning:
  • rm -rf
    ,
    sudo
    ,
    chmod 777
  • Commands with
    --force
    or
    --no-verify
  • Commands involving passwords, secrets, or credentials
无论学习功能如何,以下命令绝不会被自动批准
  • rm -rf
    ,
    sudo
    ,
    chmod 777
  • 带有
    --force
    --no-verify
    的命令
  • 涉及密码、密钥或凭证的命令

Related Skills

相关技能

  • skill-evolution: Evolve skills based on feedback
  • skill-evolution: 根据反馈优化技能

File Locations

文件位置

See
references/file-locations.md
for storage details.
有关存储详情,请查看
references/file-locations.md

Analytics & Consent Files

分析数据与同意文件

.claude/feedback/
├── preferences.json           # User preferences including shareAnonymized
├── consent-log.json          # GDPR consent audit trail (opt-in/opt-out history)
├── metrics.json              # Source data for analytics
└── analytics-exports/        # Exported analytics for review
    └── analytics-export-*.json
.claude/feedback/
├── preferences.json           # 包含shareAnonymized的用户偏好设置
├── consent-log.json          # 符合GDPR的同意审计跟踪(加入/退出同意历史)
├── metrics.json              # 分析数据的源数据
└── analytics-exports/        # 供审核的导出分析数据
    └── analytics-export-*.json

Privacy Policy

隐私政策

See
references/privacy-policy.md
for full privacy documentation.
完整隐私文档请查看
references/privacy-policy.md