Skip to content

brainstorm-promotion: author agents/skills/envio-graphql.md #25

Description

@reubenr0d

brainstorm-promotion: blocker for the broadcast-bot and basket-ideator brainstorm agents in COMPANY.md. Pairs with the envio-graphql-mcp build (#21).

Background

Two brainstorm agents need to reason about IndexFlow's live on-chain event stream via Envio HyperIndex. The MCP (#21) gives them the wire; this skill gives them the schema vocabulary, the live endpoint URL, the subscription pattern, and the canonical event shapes so they can write correct queries without re-deriving the schema from each tool call.

Spec (lifted from COMPANY.md L177-183)

- name: envio-graphql
  proposedPath: agents/skills/envio-graphql.md
  description: >
    Envio HyperIndex GraphQL schema for IndexFlow (BasketCreated,
    BasketDeposit, etc.), live endpoint URL, subscription pattern.
    Needed by broadcast-bot, basket-ideator, and any future
    growth-analytics agent.

Acceptance criteria

  • New agents/skills/envio-graphql.md matching the file conventions of the 4 existing skill files under agents/skills/.
  • Documents the live Envio HyperIndex GraphQL endpoint URL (testnet hub) — pull from apps/envio/ config and apps/web/src/config/*-deployment.json.
  • Documents the canonical event types with field shapes by reading the actual Envio schema config under apps/envio/ (don't invent fields):
    • BasketCreated (basketAddress, name, curator, assetCount, timestamp, txHash, blockNumber, etc.)
    • BasketDeposit (basketAddress, depositor, amount, timestamp, txHash)
    • Any other event types Envio currently indexes
  • Documents the subscription pattern (or the polling fallback if HyperIndex doesn't expose subscriptions) — cross-references the */15 * * * * cadence in broadcast-bot.heartbeat.
  • Documents at least 2 worked example queries:
    • "Last N BasketCreated events since timestamp X" (broadcast-bot use case)
    • "Distinct basket themes already on-chain" (basket-ideator de-dupe use case)
  • Cross-references the envio-graphql-mcp build (brainstorm-promotion: build apps/mcps/envio-graphql/ (envio-graphql-mcp) #21) — the MCP is the wire; this skill is the schema.
  • CHANGELOG.md entry timestamped per repo convention.

Lifecycle next steps after PR merges

  1. Reference the skill from the broadcast-bot and basket-ideator agent prompt files (separate issues).
  2. Once either consumer flips state: brainstorm → state: active, also flip skills.proposed → skills.active for envio-graphql.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    brainstorm-promotionCOMPANY.md brainstorm-slate promotion campaign: opens via human plan, drafted by issue-implementer.category:new_mcp_or_skillAgent-finding category: propose a new MCP tool or skill.needs-human-workhuman needs to take lead on task, mostly goes beyond a PR

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions