Env Hub logo

Env Hub

Organization
eigent-ai
env-hub

Save a finished Claude Code or Codex session as a Harbor task (an agent benchmark task) and submit it to Env Hub, which turns it into an environment by writing its verifier and reference solution. Use when the user asks to "save this session as a Harbor task", "turn this into a Harbor task or environment", "submit this to Env Hub", "保存为 Harbor 任务", or to check how a submitted task is going or list their environments.

Overview

Publishereigent-ai
Repositoryagent-skills
Skill nameenv-hub
Stars
27
Forks
3
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by eigent-ai on GitHub. Read the source before you install it.

Installation

Install the Env Hub AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/eigent-ai/agent-skills/tree/main/skills/coding-agents-and-ides/env-hub
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eigent-ai/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/coding-agents-and-ides/env-hub .claude/skills/env-hub
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Env Hub in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Env Hub on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Env Hub is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Env Hub

scripts/capture.py (in this skill's folder; Python 3.9+, standard library only) does every step. Run it with the absolute path to this skill's folder.

Save

First read the user's messages in the session, numbered:

bash
python3 <skill>/scripts/capture.py messages --from claude --json   # or: --from codex

It reads the newest session that ran in the current folder (--session ID or --transcript FILE for another; sessions --from claude lists them).

Choose the messages that state the task: the request, and later messages that correct it or add to it. Leave out what is not the task: asking to save or submit, thanks, questions about this skill, and a different task in the same session (save that one on its own). taken_by_default marks what save takes without a choice: every message before the request to save. Then:

bash
python3 <skill>/scripts/capture.py save --from claude --session ID --messages 1,3 --json

--messages takes numbers and ranges (1,3, 2-4). The instruction is the chosen messages word for word: choose, never rewrite. The conversation kept runs from the first chosen message through your replies to the last. A task that starts at a later message starts from the last commit before it, so earlier work in the session is there only if it was committed; say so when it matters. The folder must be a git repository. Nothing leaves the machine and the repository is not changed.

Beside the task folder it keeps the conversation (what the user and the agent said, without the tools' output, anything that looks like a secret redacted) and a bundle of both, the zip Env Hub takes.

Show the user the summary: the instruction, which of their messages were taken and which left out and why (messages, messages_left_out), how many files the workspace keeps, what was left out and why (files_omitted), every file left out because it looks like a secret (secrets_left_out), and that the conversation goes with the task (conversation_turns). To leave out files, run save again with --exclude PATH (repeatable); to change what the task says, again with other --messages.

  • Never edit the saved task's files.
  • If save says the chosen messages hold what looks like a secret, stop and tell the user; do not work around it.

Submit (only after the user says yes)

Submitting uploads the bundle (the task and the conversation) to Env Hub under the user's Eigent account, as the contribution agreement they accept says, and starts converting it into an environment. Ask first, every time; say what will be uploaded (the bundle and its size). Then:

bash
python3 <skill>/scripts/capture.py submit <task folder> --json

The first time, the user signs in: run capture.py login, which opens their browser (Eigent account, Google or GitHub) and asks them to accept the contribution agreement and allow the skill. Never handle their password or token; the script keeps the token in ~/.config/env-hub/.

Follow it

bash
python3 <skill>/scripts/capture.py status <conversion id> --json
python3 <skill>/scripts/capture.py list --json     # the user's environments

status: queued, running, succeeded (environment_url is where the user sees the environment in full, verifier and solution included) or failed (error.message says why). Until then the user follows it on the web at account_url, which submit and status return; give that address, never one of your own (the hub may not be the default one). stage says more: checking, publishing, drafting (Env Hub writes the verifier and reference solution), gating (oracle and nop runs), repairing, passed, rejected, needs_attention. Drafting and gating take minutes; check back rather than waiting in a loop.

Errors you can act on: "not signed in", an expired connection or an agreement to accept → login; the day's limit → try later; the task too large → save again with --exclude for large folders. The user removes Env Hub's access from their account page on the hub.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Env Hub AI skill do?

Save a finished Claude Code or Codex session as a Harbor task (an agent benchmark task) and submit it to Env Hub, which turns it into an environment by writing its verifier and reference solution. Use when the user asks to "save this session as a Harbor task", "turn this into a Harbor task or environment", "submit this to Env Hub", "保存为 Harbor 任务", or to check how a submitted task is going or list their environments.

Why use Env Hub on TypingMind?

Because you install it once and use it with any model. Env Hub is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Env Hub in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/eigent-ai/agent-skills/tree/main/skills/coding-agents-and-ides/env-hub. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Env Hub?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Env Hub?

As many as you like. As long as a model supports skills, you can use Env Hub with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Env Hub AI skill free?

Yes. It is published on GitHub by eigent-ai under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇