/ Diretório / Playground / convex-agent-skillz
● Comunidade PolarCoding85 ⚡ Instantâneo

convex-agent-skillz

por PolarCoding85 · PolarCoding85/convex-agent-skillz

Drop-in Convex backend knowledge — queries, mutations, real-time presence, workflows, auth (Clerk/WorkOS), and AI agent patterns auto-load by context.

PolarCoding85/convex-agent-skillz gives Claude deep expertise across Convex: queries/mutations/actions/HTTP endpoints, schema + indexing, real-time features (presence, streaming, collab editing), durable operations (workflows, queues, schedules), auth (universal + Clerk + WorkOS), AI integration (agent threads, tool calling, RAG, message history). Context-aware — working in convex/ auto-activates the convex-expert agent; referencing components like Rate Limiter or Stripe loads the matching pattern.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

convex-agent-skillz-skill.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "convex-agent-skillz-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PolarCoding85/convex-agent-skillz",
        "~/.claude/skills/convex-agent-skillz"
      ],
      "_inferred": true
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "convex-agent-skillz-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PolarCoding85/convex-agent-skillz",
        "~/.claude/skills/convex-agent-skillz"
      ],
      "_inferred": true
    }
  }
}

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "convex-agent-skillz-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PolarCoding85/convex-agent-skillz",
        "~/.claude/skills/convex-agent-skillz"
      ],
      "_inferred": true
    }
  }
}

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "convex-agent-skillz-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PolarCoding85/convex-agent-skillz",
        "~/.claude/skills/convex-agent-skillz"
      ],
      "_inferred": true
    }
  }
}

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "convex-agent-skillz-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PolarCoding85/convex-agent-skillz",
        "~/.claude/skills/convex-agent-skillz"
      ]
    }
  ]
}

O Continue usa um array de objetos de servidor em vez de um map.

~/.config/zed/settings.json
{
  "context_servers": {
    "convex-agent-skillz-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/PolarCoding85/convex-agent-skillz",
          "~/.claude/skills/convex-agent-skillz"
        ]
      }
    }
  }
}

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add convex-agent-skillz-skill -- git clone https://github.com/PolarCoding85/convex-agent-skillz ~/.claude/skills/convex-agent-skillz

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: convex-agent-skillz

Add real-time presence to an existing Convex app

👤 Convex devs adding collab features ⏱ ~45 min intermediate

Quando usar: You have an app and want Figma-style 'who's here' indicators without running a socket server.

Pré-requisitos
  • Skill copied into your project's .claude folder — git clone https://github.com/PolarCoding85/convex-agent-skillz and copy .claude/ to your project root
Fluxo
  1. Describe the feature
    Using the Convex skillz — add presence to the documents page. Show cursors and usernames.✓ Copiado
    → Claude implements with Convex's presence pattern (mutation + reactive query), not a custom WebSocket
  2. Handle disconnection
    What about cleanup when users close the tab?✓ Copiado
    → Specific stale-presence cleanup strategy aligned with Convex conventions

Resultado: Working presence with proper cleanup.

Armadilhas
  • Custom presence pattern that fights Convex's reactivity — Skill steers you toward the idiomatic version; don't override without a reason
Combine com: filesystem

Integrate Clerk auth with Convex properly

👤 Devs wiring Clerk into a new or existing Convex app ⏱ ~30 min intermediate

Quando usar: You picked Clerk and want its Convex integration right the first time.

Fluxo
  1. Wire the provider
    Convex skillz — integrate Clerk auth with Convex. Set up the JWT template and the Convex auth config.✓ Copiado
    → Claude references the right Clerk JWT template name and auth.config.ts setup
  2. Protect queries
    Now gate the documents query so only the owner can read.✓ Copiado
    → ctx.auth.getUserIdentity() pattern with proper identity check

Resultado: Auth that passes code review and doesn't leak across tenants.

Build an AI agent with persistent threads on Convex

👤 Devs building chat or agent products ⏱ ~90 min advanced

Quando usar: You want threaded message history that survives across sessions.

Fluxo
  1. Model threads
    Convex skillz — agent threads table + message history + tool calling metadata.✓ Copiado
    → Schema that covers streaming, partial messages, and tool-call state
  2. Hook up streaming
    Stream the assistant response back via a reactive query.✓ Copiado
    → Partial-message pattern leveraging Convex's reactivity

Resultado: A Convex-native agent thread layer ready to scale.

Combinações

Combine com outros MCPs para 10× de alavancagem

convex-agent-skillz-skill + github

Open PRs for feature additions with Convex-conventional diffs

Implement the presence feature, commit and open PR with the Convex skill patterns noted.✓ Copiado
convex-agent-skillz-skill + filesystem

Work across schema, functions, and UI in one session

Update convex/schema.ts, add the mutation, and wire up the React hook.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
queries_mutations_actions feature intent Any convex/ work 0
realtime_patterns feature (presence / streaming / collab) Real-time features 0
auth_setup provider (Clerk / WorkOS / custom) Wiring auth 0
durable_ops workflow intent Long-running or retry-heavy logic 0
ai_agent_threads agent feature description Agent products on Convex 0

Custo e limites

O que custa rodar

Cota de API
None from the skill
Tokens por chamada
Moderate — patterns load as needed by context
Monetário
Free — skills are local files. Convex itself has its own pricing.
Dica
Place skill in project .claude/ rather than global — auto-activation works best scoped to the project.

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: No credentials in the skill. Your auth provider secrets live in your own env.
Saída de dados: None from the skill — code stays local

Solução de problemas

Erros comuns e correções

Skill not invoked — Claude writes non-Convex-idiomatic code

Say 'use the Convex skillz' or ensure you're working inside convex/ directory.

Verificar: ls <project>/.claude/agents/convex-expert.md
SKILL.md frontmatter wrong

Re-copy .claude/ from the repo.

Verificar: head <project>/.claude/skills/*/SKILL.md
Wrong trigger keywords — auth pattern doesn't use your provider

Name the provider explicitly ('with Clerk' / 'with WorkOS').

Alternativas

convex-agent-skillz vs. outros

AlternativaQuando usarTroca
Convex official docsYou want primary source rather than a curated skillNo in-agent auto-activation
Hand-rolled patternsYou're an experienced Convex devYou'll reinvent patterns; skill just makes Claude use yours consistently

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills