Agent skill

Claude To Medrixflow

by Citrus-bit in Citrus-bit/Anaxa

Interact with MedrixFlow AI agent platform via its HTTP API.

MITAuto-check passedResearch & Science

Install Claude To Medrixflow

skills CLI
$ npx skills add Citrus-bit/Anaxa --skill claude-to-medrixflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Citrus-bit/Anaxa claude-to-medrixflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Citrus-bit/Anaxa.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/public/claude-to-medrixflow .claude/skills/claude-to-medrixflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
claude-to-medrixflow
GitHub stars
120
Token cost
~1.7k tokens
SKILL.md length
505 words
Files
3 (incl. scripts)
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Interact with MedrixFlow AI agent platform via its HTTP API.

  • Works in 12 steps: Health Check → Send a Message (Streaming) → Continue a Conversation → …
  • The user wants to send messages
  • SKILL.md covers Architecture, Environment Variables, Available Operations and Usage Script, plus 3 more sections
  • Runs Shell scripts from its folder; calls curl and bash

What it does

Claude To Medrixflow is an agent skill from Citrus-bit/Anaxa. Interact with MedrixFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to MedrixFlow for research/analysis, start a MedrixFlow conversation thread, check MedrixFlow status or health, list available models/skills/agents in MedrixFlow, manage MedrixFlow memory, upload files to MedrixFlow threads, or delegate complex research tasks to MedrixFlow. Also use when the user mentions medrixflow or wants to run a deep research task that MedrixFlow can handle.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/chat.sh` and `scripts/status.sh`).

It sits in Research & Science, covering REST APIs, Deep research and Building AI agents. It works with LangGraph and NGINX. The repository describes itself as: Anaxa 是一个面向科研工作流的开源智能体系统。它不是单纯的聊天机器人,也不是无人监管的自动发论文机器,而是把文献检索、证据审计、实验执行、论文写作、同行评审式检查和最终产物打包放进同一个可追踪的研究生命周期中。 The licence is MIT.

When your agent uses it

  • The user wants to send messages
  • Questions to MedrixFlow for research/analysis
  • Start a MedrixFlow conversation thread
  • Check MedrixFlow status

Example prompts

  • “/claude-to-medrixflow”

Requirements

  • A Bash shell

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Health Check
  2. Send a Message (Streaming)
  3. Continue a Conversation
  4. List Models
  5. List Skills
  6. Enable/Disable a Skill
  7. List Agents
  8. Get Memory
  9. Upload Files to a Thread
  10. List Uploaded Files
  11. Get Thread History
  12. List Threads

What it can do on your machine

Read from SKILL.md and the folder at commit d57c708. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • curl
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Claude To Medrixflow loads about 1.7k tokens when it runs. Until then it costs about 133 tokens; SKILL.md has 505 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~133
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Citrus-bit/Anaxa at commit d57c708, republished under its MIT licence (© Citrus-bit). 505 words, ~1,735 tokens.

Download SKILL.mdSave it as .claude/skills/claude-to-medrixflow/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
claude-to-medrixflow
description
Interact with MedrixFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to MedrixFlow for research/analysis, start a MedrixFlow conversation thread, check MedrixFlow status or health, list available models/skills/agents in MedrixFlow, manage MedrixFlow memory, upload files to MedrixFlow threads, or delegate complex research tasks to MedrixFlow. Also use when the user mentions medrix_flow or wants to run a deep research task that MedrixFlow can handle.

MedrixFlow Skill

Communicate with a running MedrixFlow instance via its HTTP API. MedrixFlow is an AI agent platform built on LangGraph that orchestrates sub-agents for research, code execution, web browsing, and more.

Architecture

MedrixFlow exposes two API surfaces behind an Nginx reverse proxy:

ServiceDirect PortVia ProxyPurpose
Gateway API8001$MEDRIXFLOW_GATEWAY_URLREST endpoints (models, skills, memory, uploads)
LangGraph API2024$MEDRIXFLOW_LANGGRAPH_URLAgent threads, runs, streaming

Environment Variables

All URLs are configurable via environment variables. Read these env vars before making any request.

VariableDefaultDescription
MEDRIXFLOW_URLhttp://localhost:2026Unified proxy base URL
MEDRIXFLOW_GATEWAY_URL${MEDRIXFLOW_URL}Gateway API base (models, skills, memory, uploads)
MEDRIXFLOW_LANGGRAPH_URL${MEDRIXFLOW_URL}/api/langgraphLangGraph API base (threads, runs)

When making curl calls, always resolve the URL like this:

bash
# Resolve base URLs from env (do this FIRST before any API call)
MEDRIXFLOW_URL="${MEDRIXFLOW_URL:-http://localhost:2026}"
MEDRIXFLOW_GATEWAY_URL="${MEDRIXFLOW_GATEWAY_URL:-$MEDRIXFLOW_URL}"
MEDRIXFLOW_LANGGRAPH_URL="${MEDRIXFLOW_LANGGRAPH_URL:-$MEDRIXFLOW_URL/api/langgraph}"

Available Operations

1. Health Check

Verify MedrixFlow is running:

bash
curl -s "$MEDRIXFLOW_GATEWAY_URL/health"
2. Send a Message (Streaming)

This is the primary operation. It creates a thread and streams the agent's response.

Step 1: Create a thread

bash
curl -s -X POST "$MEDRIXFLOW_LANGGRAPH_URL/threads" \
  -H "Content-Type: application/json" \
  -d '{}'

Response: {"thread_id": "<uuid>", ...}

Step 2: Stream a run

bash
curl -s -N -X POST "$MEDRIXFLOW_LANGGRAPH_URL/threads/<thread_id>/runs/stream" \
  -H "Content-Type: application/json" \
  -d '{
    "assistant_id": "lead_agent",
    "input": {
      "messages": [
        {
          "type": "human",
          "content": [{"type": "text", "text": "YOUR MESSAGE HERE"}]
        }
      ]
    },
    "stream_mode": ["values", "messages-tuple"],
    "stream_subgraphs": true,
    "config": {
      "recursion_limit": 1000
    },
    "context": {
      "thinking_enabled": true,
      "is_plan_mode": true,
      "subagent_enabled": true,
      "thread_id": "<thread_id>"
    }
  }'

The response is an SSE stream. Each event has the format:

event: <event_type>
data: <json_data>

Key event types:

  • metadata — run metadata including run_id
  • values — full state snapshot with messages array
  • messages-tuple — incremental message updates (AI text chunks, tool calls, tool results)
  • end — stream is complete

Context modes (set via context):

  • Flash mode: thinking_enabled: false, is_plan_mode: false, subagent_enabled: false
  • Standard mode: thinking_enabled: true, is_plan_mode: false, subagent_enabled: false
  • Pro mode: thinking_enabled: true, is_plan_mode: true, subagent_enabled: false
  • Ultra mode: thinking_enabled: true, is_plan_mode: true, subagent_enabled: true
3. Continue a Conversation

To send follow-up messages, reuse the same thread_id from step 2 and POST another run with the new message.

4. List Models
bash
curl -s "$MEDRIXFLOW_GATEWAY_URL/api/models"

Returns: {"models": [{"name": "...", "provider": "...", ...}, ...]}

5. List Skills
bash
curl -s "$MEDRIXFLOW_GATEWAY_URL/api/skills"

Returns: {"skills": [{"name": "...", "enabled": true, ...}, ...]}

6. Enable/Disable a Skill
bash
curl -s -X PUT "$MEDRIXFLOW_GATEWAY_URL/api/skills/<skill_name>" \
  -H "Content-Type: application/json" \
  -d '{"enabled": true}'
7. List Agents
bash
curl -s "$MEDRIXFLOW_GATEWAY_URL/api/agents"

Returns: {"agents": [{"name": "...", ...}, ...]}

8. Get Memory
bash
curl -s "$MEDRIXFLOW_GATEWAY_URL/api/memory"

Returns user context, facts, and conversation history summaries.

Show full SKILL.md (208 more words)Show less
9. Upload Files to a Thread
bash
curl -s -X POST "$MEDRIXFLOW_GATEWAY_URL/api/threads/<thread_id>/uploads" \
  -F "files=@/path/to/file.pdf"

Supports PDF, PPTX, XLSX, DOCX — automatically converts to Markdown.

10. List Uploaded Files
bash
curl -s "$MEDRIXFLOW_GATEWAY_URL/api/threads/<thread_id>/uploads/list"
11. Get Thread History
bash
curl -s "$MEDRIXFLOW_LANGGRAPH_URL/threads/<thread_id>/history"
12. List Threads
bash
curl -s -X POST "$MEDRIXFLOW_LANGGRAPH_URL/threads/search" \
  -H "Content-Type: application/json" \
  -d '{"limit": 20, "sort_by": "updated_at", "sort_order": "desc"}'

Usage Script

For sending messages and collecting the full response, use the helper script:

bash
bash /path/to/skills/claude-to-medrix_flow/scripts/chat.sh "Your question here"

See scripts/chat.sh for the implementation. The script:

  1. Checks health
  2. Creates a thread
  3. Streams the run and collects the final AI response
  4. Prints the result

Parsing SSE Output

The stream returns SSE events. To extract the final AI response from a values event:

  • Look for the last event: values block
  • Parse its data JSON
  • The messages array contains all messages; the last one with type: "ai" is the response
  • The content field of that message is the AI's text reply

Error Handling

  • If health check fails, MedrixFlow is not running. Inform the user they need to start it.
  • If the stream returns an error event, extract and display the error message.
  • Common issues: port not open, services still starting up, config errors.

Tips

  • For quick questions, use flash mode (fastest, no planning).
  • For research tasks, use pro or ultra mode (enables planning and sub-agents).
  • You can upload files first, then reference them in your message.
  • Thread IDs persist — you can return to a conversation later.

© Citrus-bit, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/public/claude-to-medrixflow of Citrus-bit/Anaxa.

  • SKILL.md
  • scripts/chat.sh
  • scripts/status.sh

Open the folder on GitHubat commit d57c708

Compare with similar skills

Claude To Medrixflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Claude To Medrixflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude To Medrixflow this skillCitrus-bit/Anaxa120—~1.7kAutomated safety check: PassMIT
Workflow AI Codingw8123/EnterpriseAgentFramework865—~3.7kAutomated safety check: PassMIT
Agent AI Codingw8123/EnterpriseAgentFramework865—~1.4kAutomated safety check: PassMIT
Langchain Langgraph Streamingjeremylongshore/tons-of-skills-marketplace2.8k—~4kAutomated safety check: PassMIT
Research Agentmastra-ai/mastra29k—~2.1kAutomated safety check: PassCustom licence
Reachai Onboardingw8123/EnterpriseAgentFramework865—~6.1kAutomated safety check: PassMIT

Similar skills

  • Workflow AI Coding

    w8123/EnterpriseAgentFramework

    Edit, validate, debug, publish, and inspect ReachAI Workflow drafts through the Workflow AI Coding REST API.

    865 GitHub stars~3.7k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Agent AI Coding

    w8123/EnterpriseAgentFramework

    Create, inspect, and safely update project-scoped ReachAI Agents; edit and publish Supervisor config drafts; discover published bindable Skills; and attach or detach exact Skill versions through the…

    865 GitHub stars~1.4k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Langchain Langgraph Streaming

    jeremylongshore/tons-of-skills-marketplace

    Pick the correct LangGraph 1.0 streammode ("messages" vs "updates" vs "values"), wire it into SSE or WebSocket without proxy-buffering gotchas, and filter astreamevents(v2) server-side before…

    2.8k GitHub stars~4k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Research Agent

    mastra-ai/mastra

    Authoring playbook for building agents that search, read, and synthesize information into a report.

    29k GitHub stars~2.1k tokensUpdated today
    Research & ScienceAuto-check passed
  • Reachai Onboarding

    w8123/EnterpriseAgentFramework

    Integrate Java business systems with ReachAI SDK registration, SDK instance heartbeat, gateway/embed access, and optional API Management handoff.

    865 GitHub stars~6.1k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Openma

    openma-ai/open-managed-agents

    Use the openma platform to build, deploy, and manage AI agents.

    315 GitHub stars~854 tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from Citrus-bit/Anaxa

All 15 skills in this repo
  • Nature Figure

    Citrus-bit/Anaxa

    Submission-grade Nature/high-impact journal figure workflow for Python or R.

    120 GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Chart Visualization

    Citrus-bit/Anaxa

    A skill your agent uses whenever the user wants a chart, graph, plot, dashboard visual, or asks to visualize structured numbers, trends, comparisons, proportions, distributions, correlations…

    120 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Fireworks Tech Graph

    Citrus-bit/Anaxa

    A skill your agent uses when the user wants to create any technical diagram - architecture, data flow, flowchart, sequence, agent/memory, or concept map - and export as SVG+PNG.

    120 GitHub stars~5.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Bootstrap

    Citrus-bit/Anaxa

    Generate a personalized SOUL.md through a warm, adaptive onboarding conversation.

    120 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Deep Research

    Citrus-bit/Anaxa

    A skill your agent uses for general web research that needs current online information, multiple source angles, and synthesis, when no more specific research skill applies.

    120 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • A skill your agent uses for empirical social-science research, applied economics, public policy, education, finance, management, sociology, psychology, epidemiology, or public-health data studies.

    120 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Claude To Medrixflow

What does Claude To Medrixflow do?

Interact with MedrixFlow AI agent platform via its HTTP API. Claude To Medrixflow is an agent skill from Citrus-bit/Anaxa. Interact with MedrixFlow AI agent platform via its HTTP API.

When should I use Claude To Medrixflow?

Claude To Medrixflow fits situations like: the user wants to send messages; questions to MedrixFlow for research/analysis; start a MedrixFlow conversation thread; check MedrixFlow status.

How do I install Claude To Medrixflow in Claude Code?

Run `npx skills add Citrus-bit/Anaxa --skill claude-to-medrixflow -a claude-code`. Or copy the skill folder (skills/public/claude-to-medrixflow in Citrus-bit/Anaxa) into .claude/skills/claude-to-medrixflow in your project. Claude Code loads it when a task matches its description.

How do I install Claude To Medrixflow in Codex?

Run `npx skills add Citrus-bit/Anaxa --skill claude-to-medrixflow -a codex`. Or copy the skill folder (skills/public/claude-to-medrixflow in Citrus-bit/Anaxa) into .agents/skills/claude-to-medrixflow in your project. Codex loads it when a task matches its description.

Can I use Claude To Medrixflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Citrus-bit/Anaxa --skill claude-to-medrixflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-to-medrixflow, .gemini/skills/claude-to-medrixflow, .github/skills/claude-to-medrixflow and .opencode/skills/claude-to-medrixflow in your project.

What does Claude To Medrixflow need to run?

Going by SKILL.md and its folder, Claude To Medrixflow needs a shell for the scripts in its folder and the command-line tools its instructions call (curl and bash). Our summary lists: A Bash shell.

Does Claude To Medrixflow access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Claude To Medrixflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Claude To Medrixflow use?

Claude To Medrixflow is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claude To Medrixflow use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Claude To Medrixflow?

Skills that share tags, products or a category with Claude To Medrixflow: Workflow AI Coding (w8123/EnterpriseAgentFramework, 865 stars), Agent AI Coding (w8123/EnterpriseAgentFramework, 865 stars), Langchain Langgraph Streaming (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and Research Agent (mastra-ai/mastra, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude To Medrixflow?

Citrus-bit (a GitHub user) maintains it in Citrus-bit/Anaxa, which has 120 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 7, 2026.

Source: Citrus-bit/Anaxa on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.