atomic

flowstate-epic-flowstate-community-epicdm-flowstate-mcp

Package-local agent skill for @epicdm/flowstate-mcp.

Tags

Publisher

Versions

1 version published — latest: 1.1.6

  • 1.1.6
    publishedInvalid Date

Skill

flowstate-mcp Package Skill

Package: @epicdm/flowstate-mcp Repository: epic-flowstate-community Path: packages/flowstate-mcp Version: 1.1.6

Use this published Dojo skill as the package-level entrypoint. For detailed workflows, use the package-local skills listed below.

Primary Package Workflow

Agent Operations And Memory

Use this skill for MCP tools that help agents identify themselves, coordinate work, communicate, provision subordinate agents, and persist or retrieve memory.

Tool Families

FamilyPurpose
Agent inboxResolve an agent and return tasks, mentions, replies, approvals, and conversation items.
Agent chat/conversationSend, read, and manage agent conversation flows.
Subordinates and provisioningProvision/report subordinate agents and inspect health, usage, RBAC, budget, and vault status.
Collaboration/access auditReport collaboration and access state for agents.
Agent keysProvision and rotate agent tokens, add agents to vaults, and list keys.
Agent memoryWrap Agent Memory Server for recall, store, search, sessions, and forget flows.
FlowState AgentMemoryCall the FlowState AgentMemory API with scoped namespaces and observation records.

Memory Model

There are two related memory integrations:

  • AgentMemoryTools wraps @epicdm/flowstate-agents-memory-client and AMS endpoints.
  • FlowStateAgentMemoryTools calls a FlowState AgentMemory HTTP API and derives namespaces from visibility and scope fields.

Do not merge their semantics without checking source. AMS working memory, long-term memory, SAGA write-through, and FlowState AgentMemory namespaces have different contracts.

Safe Usage Pattern

  1. Resolve the agent identity or slug first.
  2. Pass org/workspace scope explicitly for HTTP and service callers.
  3. Recall memory before high-context tasks.
  4. Store durable learnings only after checking whether the memory family expects working, long-term, or scoped FlowState memory.
  5. Treat empty memory results as a possible service/config issue, not proof no knowledge exists.

Pitfalls

  • Some memory clients use best-effort null or empty result semantics.
  • Namespace derivation can throw when required scope IDs are missing.
  • Agent key and vault flows require unlocked vault state and caller auth context.
  • Generated skilllets do not explain which memory system a tool uses.

Package Skill Inventory

Package Skill Inventory: @epicdm/flowstate-mcp

Skill Map

SkillTypeTriggerTeachesDojo
flowstate-mcporchestratorUse when touching MCP server behavior, tool contracts, package exports, or docsRoutes to runtime, CRUD, workflow, agent, RAG/document, security, troubleshooting, and maintenance skillslocal-only
flowstate-mcp-runtime-transportsworkflowUse when running stdio/HTTP MCP, configuring env/auth, or debugging tool availabilityStdio vs HTTP, auth gate, lazy init, optional services, schema seeding, tool listingready-after-review
flowstate-mcp-tool-routing-contextreferenceUse when adding or debugging MCP toolsTool registration, dispatch, tool result envelopes, context extraction/injection, schema compatibilityready-after-review
flowstate-mcp-collection-schema-crudworkflowUse when using generic collection or schema toolsCollection CRUD/list/query/aggregate, virtual collections, list limits, schema registry, context mergeready-after-review
flowstate-mcp-work-planning-toolsworkflowUse when using spec, task, roadmap, initiative, process, product, hierarchy, or assignment toolsSpec/task lifecycle, planning records, proposal/step tools, bridge contract risksready-after-review
flowstate-mcp-agent-ops-memoryworkflowUse when using agent inbox, chat, provisioning, collaboration, bootstrap, keys, or memory toolsAgent identity, inbox, subordinates, AMS memory, FlowState AgentMemory API, chat/auth expectationsready-after-review
flowstate-mcp-rag-documents-codebaseworkflowUse when using RAG, document, document encryption, or codebase search toolsRAG client config, document-store bridge, semantic search, codebase filters, vault keyring compositionready-after-review
flowstate-mcp-security-vault-rbacworkflowUse when touching OAuth auth, vault, keys, service accounts, RBAC, or SAGA identityAuth gate, per-org vault state, keyring lifecycle, RBAC proxying, service account and agent-key flowsready-after-review
flowstate-mcp-troubleshootingtroubleshootingUse when tool calls fail, docs disagree with behavior, or generated Dojo content looks misleadingOptional service absence, context/auth failures, adapter risks, stale docs, result envelope issueslocal-only
flowstate-mcp-maintenancemaintenanceUse before changing public tools, package exports, docs, feature matrix, or Dojo contentReverse references, tests, tool inventory, docs/matrix/Dojo sync, anti-sprawl checkslocal-only

Anti-Sprawl Decision

Do not create one skill per tool class, route, exported constant, or MCP tool. The package has more than 90 detected features, but agents need a small number of composable workflows. Constants, helper functions, route names, and individual tools belong inside workflow/reference skills.

Feature Coverage

Feature GroupCovered ByNotes
Stdio and HTTP server startupruntime-transportsIncludes mcp-server, httpServer, auth gate, health/tools routes.
Server initialization and tool dispatchtool-routing-contextIncludes FlowStateMCPServer, tool definitions, wrapToolResult, OpenAI schema compatibility.
Client adapter and data layercollection-schema-crudIncludes ClientAdapter, CRUDTools, SchemaRegistry, virtual collections, list limits.
Spec/task/planning/project/product hierarchywork-planning-toolsIncludes spec tools, task workflow, planning workflow, bizplan/product/hierarchy/assignment tools.
Coordinator proposal/mission/step toolswork-planning-tools, troubleshootingIncludes ProposalService and StepExecutor adapter risk.
Agent operations and memoryagent-ops-memoryIncludes inbox, subordinate, provisioning, collaboration, chat, AMS, FlowState AgentMemory.
RAG/document/codebase searchrag-documents-codebaseIncludes RAGTools, DocumentTools, CodebaseSearchTools, document-store and RAG client contracts.
Vault/RBAC/auth/keyssecurity-vault-rbacIncludes OAuth resource auth, vault state, member management, key provisioning, RBAC categories.
Observability, finance, Git, state, timerswork-planning-tools, maintenance, troubleshootingMention as active tool families; add focused skills later only if usage warrants.
Generated Dojotroubleshooting, maintenanceTreat as prototype; not publishable without rewrite.

Deferred Skills

  • Separate skill per MCP tool class: defer unless a tool family becomes too large to operate from the workflow skill.
  • Separate observability/finance/Git skills: defer until package review shows enough repeated usage to justify standalone triggers.
  • Dojo publish skill: defer until existing .flowstate/dojo content is rebuilt from reviewed package skills.
  • Coordinator adapter repair skill: track as implementation follow-up; current skillset documents the risk.

Review Gate

Package Skills Review: @epicdm/flowstate-mcp

Verdict

Pass with fixes.

The authored skillset uses workflow-level boundaries instead of generated symbol sprawl. It captures the main MCP operating surfaces and flags the highest-risk coordinator contract issue.

Findings

SeveritySkillIssueEvidenceRequired Fix
Criticalwork-planning/troubleshootingstep-complete constructs StepExecutor through an adapter that may lack updateAgentStatus()src/server/MCPServer.ts, coordinator StepExecutor contractRepair or explicitly track before presenting step completion as fully safe
ImportantallExisting Dojo content is generated and not teaching-grade.flowstate/dojo/*Rebuild from reviewed skills
Importantruntime/securityDocs understate modern HTTP auth, vault per-org state, RBAC, agent memory, and planning toolsREADME, .flowstate/docs, sourceUpdate docs before final Dojo publish
ImportantverificationPackage test suite currently has one failing vault-stats assertion; typecheck and build passVaultTools.stats.test.ts; verification runFix or track before Dojo publication

Coverage

Feature GroupStatusSkill
Runtime and transportsCoveredruntime-transports
Tool registration/context/result envelopesCoveredtool-routing-context
Collection/schema CRUDCoveredcollection-schema-crud
Spec/task/planning/product/hierarchyCoveredwork-planning-tools
Agent operations and memoryCoveredagent-ops-memory
RAG/documents/codebase searchCoveredrag-documents-codebase
Auth/vault/RBAC/keysCoveredsecurity-vault-rbac
Drift and generated contentCoveredtroubleshooting, maintenance

Dojo Publication Decision

Do not publish existing .flowstate/dojo content. Rebuild Dojo skill/course artifacts from this reviewed local skillset after verification and after the critical StepExecutor adapter risk is either fixed or tracked as an explicit known limitation.

Verification

Commands run:

yarn workspace @epicdm/flowstate-mcp test --runInBand
yarn workspace @epicdm/flowstate-mcp typecheck
yarn workspace @epicdm/flowstate-mcp build

Results:

  • Test failed: 95 suites passed, 2 skipped, 1 failed; 1917 tests passed, 17 skipped, 1 failed.
  • Failing assertion: src/tools/__tests__/VaultTools.stats.test.ts expected expiringCount to be 1, received 0.
  • Typecheck passed.
  • Build passed with existing unused external import warnings for removeRxDatabase and OpenClawClientError.

Follow-Up Work

  • Run package verification.
  • Repair or track the MCP StepExecutor adapter contract.
  • Fix or track the vault stats expiringCount test failure.
  • Update package docs to describe modern tool groups and auth/runtime behavior.
  • Rebuild Dojo artifacts from reviewed skills.

Usage

Start with this skill to understand the package purpose, then use the package-local focused skills for specific workflows. Keep this Dojo version aligned with packages/flowstate-mcp/package.json. Do not treat generated feature lists as lessons; use workflow evidence from CODE-REVIEW.md, SKILL-INVENTORY.md, and REVIEW.md.

Install

Run this in your project to install via CLI:

fscloud dojo skill install flowstate-epic-flowstate-community-epicdm-flowstate-mcp --target <target> --out ./skills

Replace <target> with your agent target identifier. See the CLI docs for details.