Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

fix-demos修复演示

Agent Skill

fix-demos 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

412

周安装

17

GitHub Stars

公开资料未说明

下载量

135
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fix-demos(修复演示)
来源仓库:https://github.com/psquared-development/psquared-skills
仓库路径:skills/fix-demos
安装命令:
npx skills add https://github.com/psquared-development/psquared-skills --skill fix-demos
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/psquared-development/psquared-skills --skill fix-demos

简介

fix-demos 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限与维护状态。
  • 使用前应核实是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 进一步核验具体用法和功能边界。

SKILL.md

Fix Flagged InboxMate Demos

Announce: `` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Fix Demos started. Finding demos that need fixes... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ``

STEP 0 — Check Environment

Read .env using the Read tool. Required tokens:

  • PSQUARED_CRM_TOKEN — CRM API bearer token
  • NUXT_MCP_DEMO_TOKEN — InboxMate MCP server token
  • OPENBRAND_API_KEY — OpenBrand color extraction API key

MCP connection:

  • URL: https://app.psquared.dev/api/mcp
  • Auth: Authorization: Bearer <NUXT_MCP_DEMO_TOKEN>
  • Transport: JSON-RPC 2.0 over HTTP POST

Call tools/list on the MCP server to confirm connectivity and get available tools.

Once verified: Environment OK. Connecting to MCP...

STEP 1 — Find Demos Needing Fixes

Query CRM for opportunities at SCREENING stage with demoStatus = NEEDS_FIX:

curl -s -X POST https://crm.psquared.dev/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $PSQUARED_CRM_TOKEN" \
  -d '{"query":"{ opportunities(filter: { stage: { eq: SCREENING }, demoStatus: { eq: NEEDS_FIX } }, first: 50) { edges { node { id name stage demoStatus demoId demoReviewIssues demoUrl { primaryLinkUrl } company { id name domainName { primaryLinkUrl } } pointOfContact { id name { firstName lastName } emails { primaryEmail } } } } } }"}'
Announce: `` Found [N] demos needing fixes: 1. [Company Name] — Issues: [demoReviewIssues summary] 2. [Company Name] — Issues: [demoReviewIssues summary] ... ``

If none found, announce "No demos need fixing" and stop.


STEP 2 — Fix Each Demo

For each opportunity with NEEDS_FIX, parse the demoReviewIssues field and apply the appropriate fixes.

2a — Parse Issues

The demoReviewIssues field contains a text description of what failed QA. Common issues and their fix actions:

Issue keywordFix action
color / brand / FarbeRe-extract brand color via OpenBrand, update widget via MCP update_widget_style
greeting / BegrüßungFetch company website, rewrite greeting, update via MCP update_widget_style
language / SpracheFix language mismatch — update uiLang, greeting, questions via MCP
questions / Fragen / cardsRewrite quick questions based on actual company content, update via MCP update_quick_questions
knowledge / content / hallucinationRe-scrape the company website, update/add knowledge items via MCP add_to_bucket
wrong companyCritical — demo was built for wrong company. Skip and flag for manual rebuild
prompt / system promptRewrite system prompt based on company website, update via MCP update_prompt
offer / countdownCampaigns manage deadlines — do not set offerExpiresAt or offerText. Skip this issue and note it in the report.

2b — Fetch Company Website

Use WebFetch on the company's domain (company.domainName.primaryLinkUrl) to get current content. This is needed for most fixes — always do it.

Check key pages:

  • Homepage
  • /kontakt or /contact
  • /impressum or /imprint
  • /leistungen or /services

2c — Apply Fixes

For color issues:

curl "https://openbrand.sh/api/extract?url=https://[domain]" \
  -H "Authorization: Bearer $OPENBRAND_API_KEY"

Use the primary color from the response. Never use pure black (#000000) or pure white (#ffffff) — if primary is black/white, use secondary. If too light or too dark, pick the next best color. Then update:

Note on agentId: The CRM stores demoId (= demo_pages.id). To get the agentId, call GET https://app.psquared.dev/api/demo/<demoId> and read agentId from the response. Use that value for all MCP tool calls.
{
  "method": "tools/call",
  "params": {
    "name": "update_widget_style",
    "arguments": {
      "agentId": "[agentId — see note above]",
      "primaryColor": "[corrected hex]"
    }
  }
}

For greeting issues:

Write a new greeting that's specific to the company (not generic). Must reference the company name and product/service.

{
  "method": "tools/call",
  "params": {
    "name": "update_widget_style",
    "arguments": {
      "agentId": "[demoId]",
      "greetingMessage": "[new EN greeting or omit]",
      "greetingMessageDe": "[new DE greeting or omit]"
    }
  }
}

For question issues:

Rewrite quick questions based on actual website content. Always use card format.

{
  "method": "tools/call",
  "params": {
    "name": "update_quick_questions",
    "arguments": {
      "agentId": "[demoId]",
      "style": "cards",
      "questionsEn": [{ "text": "...", "title": "...", "description": "...", "icon": "..." }],
      "questionsDe": [{ "text": "...", "title": "...", "description": "...", "icon": "..." }]
    }
  }
}

For knowledge/content/hallucination issues:

Re-scrape the relevant pages and update knowledge items. Use add_to_bucket with the existing bucket. Each item MUST have a sourceUrl.

{
  "method": "tools/call",
  "params": {
    "name": "add_to_bucket",
    "arguments": {
      "bucketId": "[existing bucketId]",
      "title": "[corrected title]",
      "content": "[corrected content from actual website]",
      "sourceUrl": "https://[domain]/[page]"
    }
  }
}

For prompt issues:

Rewrite the system prompt to be specific to this company. Follow the template from the inboxmate-demo skill (Phase 2c).

{
  "method": "tools/call",
  "params": {
    "name": "update_prompt",
    "arguments": {
      "agentId": "[demoId]",
      "prompt": "[rewritten system prompt]"
    }
  }
}

For offer/countdown issues:

Skip entirely. Campaigns manage deadlines — do not set offerExpiresAt or offerText. Note in the final report that this issue was skipped.

2d — Republish Agent

After all fixes are applied, republish the agent:

{
  "method": "tools/call",
  "params": {
    "name": "publish_agent",
    "arguments": { "agentId": "[demoId]" }
  }
}

2e — Verify Fix

Use WebFetch on the demo URL (demo.inboxmate.psquared.dev/?id=[demoId]) to confirm the fixes are visible.

Quick sanity check:

  • Color matches brand? ✓/✗
  • Greeting is company-specific? ✓/✗
  • Questions are relevant? ✓/✗
  • Content looks accurate? ✓/✗

2f — Update CRM

Set demoStatus back to PENDING_REVIEW and clear demoReviewIssues:

curl -s -X POST https://crm.psquared.dev/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $PSQUARED_CRM_TOKEN" \
  -d '{"query":"mutation { updateOpportunity(id: \"[opportunityId]\", data: { demoStatus: PENDING_REVIEW, demoReviewIssues: null }) { id demoStatus } }"}'
Announce after each: Fixed: [Company Name] — [what was fixed]. Resubmitted for review.

STEP 3 — Handle Unfixable Demos

If a demo has a critical issue that can't be fixed by updating (e.g., "wrong company", fundamentally broken):

  1. Do NOT attempt to fix — flag for manual rebuild
  2. Add a note explaining why it can't be auto-fixed:
curl -s -X POST https://crm.psquared.dev/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $PSQUARED_CRM_TOKEN" \
  -d '{"query":"mutation { updateOpportunity(id: \"[opportunityId]\", data: { demoReviewIssues: \"REQUIRES REBUILD: [reason]. Run /inboxmate-demo to recreate from scratch.\" }) { id } }"}'
Announce: SKIP: [Company Name] — requires full rebuild. Reason: [reason]

STEP 4 — Report

Announce: `` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Fix Demos complete. Fixed & resubmitted: - [Company A] — [what was fixed] - [Company B] — [what was fixed] Skipped (need rebuild): - [Company C] — [reason] Next step: Run /review-demos to re-review fixed demos ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ``

Important Reminders

  • Always re-scrape the company website before fixing — don't guess from memory
  • OpenBrand for colors — don't eyeball CSS, use the API
  • Republish after changes — MCP changes don't go live until publish_agent is called
  • Card format for questions — always objects with {text, title, description, icon}, always set style: "cards"
  • Every knowledge item needs sourceUrl — the exact page URL it was scraped from
  • Clear demoReviewIssues when resubmitting — prevents stale issue text from confusing the next review
  • Don't force-fix unfixable demos — flag for rebuild instead

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.5%
按下载量换算53

Claude

30.48%
按下载量换算41

Cursor

18.01%
按下载量换算24

Gemini CLI

8.62%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills