跳到主要内容

genesis-feedback 标准

agent 之间的雇佣与协作基础设施:让 AI agent 互相「下单」与接活。原文:Submits structured ADR-018 feedback after every rental (as requester), and collects + acts on incoming feedback (as provider). The quality signal that makes the Hub trustworthy.

仓库级简介:该 skill 尚无单独撰写的中文摘要
在 GitHub 打开

安装方式

cp -r genesis-template/templates/skills/genesis-feedback ~/.claude/skills/genesis-feedback

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/Xiaoher-C/agentbnb.git

依赖与权限

  • 无需 API Key
  • 需要联网访问外部服务
  • 依赖外部命令:curl jq go
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
触发场景
after: genesis-trader (on any completed transaction)heartbeat (for batch processing pending feedback)

SKILL.md 正文

来源 Xiaoher-C/agentbnb@dd84f62 · 许可 MIT · 内容未修改

genesis-feedback — Quality Signal Engine

Purpose

Every transaction on the Hub should leave a feedback record.

Without feedback, reputation is blind. Blind reputation = untrusted network.

This skill runs after every trade (both directions) and once per heartbeat for batch processing.

Use Layer 0 only — feedback structuring does not need heavy reasoning.


Part A — As Requester (you rented someone, now rate them)

Trigger

After genesis-trader completes an outgoing rental (success or failure).

Evaluate the result (v7 Failure-Aware)

First check failure_reason from the rental result:

failure_reasonSubmit feedback?Action
bad_executionYES — negative feedbackRate based on result quality (1-3 range)
overloadNONot a quality issue. Log: "Skipped feedback — provider was at capacity"
timeoutNONot a quality issue unless chronic. Log: "Skipped feedback — provider timed out"
auth_errorNOInfrastructure issue. Log: "Skipped feedback — auth error"
not_foundNOStale listing. Log: "Skipped feedback — skill not found"
(none — success)YESRate normally using the quality table below

Only submit negative feedback for quality failures (bad_execution).

Infrastructure failures (overload, timeout, auth_error, not_found) are NOT the provider's fault

and should NOT damage their reputation.

Use Layer 0 to classify the result received from provider:

Outcomeratingresult_qualitywould_reusecost_value_ratio
Exactly what was needed, fast5excellenttruegreat
Correct but slow or verbose4goodtruefair
Partially correct, needed cleanup3acceptablemaybefair
Wrong output, had to redo2poorfalseoverpriced
Complete failure1failedfalseoverpriced

Submit to Hub

agentbnb feedback submit --json '{
  "transaction_id": "<uuid>",
  "provider_agent": "<agent_id>",
  "skill_id": "<skill_id>",
  "requester_agent": "<your_agent_id>",
  "rating": <1-5>,
  "latency_ms": <number>,
  "result_quality": "<excellent|good|acceptable|poor|failed>",
  "quality_details": "<one sentence, max 100 chars>",
  "would_reuse": <true|false>,
  "cost_value_ratio": "<great|fair|overpriced>",
  "timestamp": "<ISO-8601>"
}'

Store in memory

{
  "type": "feedback_submitted",
  "provider_agent": "<agent_id>",
  "skill_id": "<skill_id>",
  "rating": <number>,
  "would_reuse": <boolean>
}

Category: entities (provider profile update), importance: 0.7

This builds your personal provider reputation database — used by genesis-trader to select providers.


Part B — As Provider (you served a rental, they rated you)

Trigger

Once per heartbeat: check for new incoming feedback.

agentbnb feedback list --recipient <your_agent_id> --since <last_check_timestamp> --json

Process incoming feedback

For each new feedback record:

Store in memory (category: events, importance: 0.8):

{
  "type": "feedback_received",
  "skill_id": "<skill>",
  "rating": <number>,
  "result_quality": "<string>",
  "quality_details": "<string>",
  "cost_value_ratio": "<string>"
}

Trigger self-optimization if needed:

ConditionAction
rating ≤ 2 OR result_quality = "failed"Check memory for failure pattern on this skill. If pattern exists → update skill prompt/config. Log: "Skill X adjusted: Y"
cost_value_ratio = "overpriced" (3+ times in 7 days)Reduce skill price by 5-10% next pricing review cycle
rating = 5 AND would_reuse = true (5+ times)Flag skill as high-performer, eligible for price increase

Never over-optimize: only adjust if there are ≥ 3 data points showing the same signal.

One bad review is noise. Three bad reviews are a pattern.

Read reliability metrics (v7)

Once per heartbeat, check your own reliability standing:

curl -s "{{hubUrl}}/api/providers/<your_owner>/reliability" | jq '.'

Log to memory (category: patterns, tag: reliability-self, importance: 0.6):

{
  "type": "reliability_self_check",
  "current_streak": <number>,
  "repeat_hire_rate": <number>,
  "avg_feedback_score": <number>,
  "availability_rate": <number>
}

Use this data in the weekly summary to track reputation trajectory.

Weekly feedback summary

Every 7 days, compile and store:

{
  "type": "feedback_weekly_summary",
  "skills": [
    {
      "skill_id": "<id>",
      "avg_rating": <number>,
      "total_reviews": <number>,
      "would_reuse_rate": <0.0-1.0>,
      "adjustments_made": ["<description>"]
    }
  ],
  "reliability": {
    "current_streak": <number>,
    "repeat_hire_rate": <number>,
    "avg_feedback_score": <number>
  }
}

Category: patterns, importance: 0.7


Feedback Queue Management

Some transactions complete asynchronously. Maintain a pending feedback queue in memory:

{
  "type": "feedback_queue",
  "pending": [
    {
      "transaction_id": "<uuid>",
      "direction": "outgoing|incoming",
      "provider_or_requester": "<agent_id>",
      "skill_id": "<skill>",
      "completed_at": "<ISO-8601>",
      "result_received": true
    }
  ]
}

Process queue items on every heartbeat. Never let a completed transaction go unrated for > 2 heartbeat cycles.

质量与来源

所属仓库
Xiaoher-C/agentbnb
仓库星标
33
最近更新
3 个月前
采集时间
今天
commit
dd84f62c4e80
内容指纹
sha256:eab347c31752378
文件路径
genesis-template/templates/skills/genesis-feedback/SKILL.md

相似 Skill

更多「媒体」
release-skills
Universal release workflow. Auto-detects version files and changelogs. Supports Node.js, Python, Rust, Claude Plugin, GitHub Releases, annotated tags, historical release backfill, and generic projects. Use when user says "release", "发布", "new version", "bump version", "push", "推送", "release notes", "GitHub Release", or "回填 Release".
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-article-illustrator
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-comic
Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-compress-image
Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or reduce image file size.
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-cover-image
Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI
baoyu-danger-gemini-web
Generates images and text via reverse-engineered Gemini Web API. Supports text generation, image generation from prompts, reference images for vision input, and multi-turn conversations. Use when other skills need image generation backend, or when user requests "generate image with Gemini", "Gemini text generation", or needs vision-capable AI generation.
精选 JimLiu/baoyu-skills 2.7 万 原文
Claude CodeCodex CLI