Markus Hub
Markus Hub is the community marketplace for Markus digital assets: Agent / Team / Skill (+ Connector-related) as the goods, with support for search, download, publish, and subscribe/billing. This page explains the full asset flow: search, publish (including pre-publish checks, license & attribution compliance), install into an organization, and billing & subscriptions. How to build asset packages: Agents · Teams · Skills. ← Back to Assets · 中文原版
1. What Hub Is
- The Hub is a community repository: builders publish packaged Agent / Team / Skill assets; others search, download, and install them.
- The Hub treats the Organization as the billing & governance entity; assets have stable marketplace IDs (
hub_items.id, generated at publish — billing doesn’t create a new one each time). - Besides the free tier, subscriptions (Plan) + CU (Compute Unit / credits) are the main billing currency: CU meters model-inference allowance; obtainable via Plan subscription or top-ups.
2. Operating the Hub via Connector (markus-hub-connector skill)
Hub search/publish/download operations are carried by MCP tools (prefix markus-hub__):
| Tool | Purpose | Login required |
|---|---|---|
markus-hub__hub_search | Search packages by keyword / type / category | No |
markus-hub__hub_download | Download packages to local builder-artifacts | Yes |
markus-hub__hub_publish | Publish local artifacts to the Hub | Yes |
markus-hub__hub_my_items | List my published items | Yes |
Login: mutating operations (download / publish / my_items) require being logged into the Hub. Login state is synced automatically from the Web UI — no manual token config needed. If a tool reports an auth error, guide the user to click the Hub icon in the Markus Web UI to log in.
⚠️ Distinction: Hub tools ≠ local management. Local skill/agent management (install, activation) is a separate set of operations (
package_install/hub_install).
3. Search (hub_search)
1. markus-hub__hub_search → query="code review", type="skill"
2. Review the results, confirm which one to download with the user
- Filterable by keyword,
type(agent/team/skill), andcategory. - Search requires no login.
4. Download (hub_download)
markus-hub__hub_download → id="<item_id>"downloads a package to local builder-artifacts.- After downloading, tell the user to install from the Builder page — download ≠ active. Install steps: §6.
5. Publish (hub_publish)
Publish local build artifacts in one step:
markus-hub__hub_publish → directory="~/.markus/builder-artifacts/skills/my-skill"
(auto-reads that directory's manifest + all files)
- Directory mode is recommended: pass the
directoryargument; manifest and files are read automatically. - Publishing generates a share link (two visibilities:
link/public; both go through review). - After publishing, give the user the Hub URL; the package slug = Hub URL segment
/@user/{slug}. markus-hub__hub_my_itemslists published items. To update/fix a published item: update the local artifact, then publish again (updates that item).- Hub field mapping: local artifacts use
thumbnail/screenshots; when published they map tothumbnailUrl/images({url,alt,order}[]).
Best practice: before publishing, show the user what will be published (name / description / files) before
hub_publish; search to help the user find the right package before sharing; guide Hub login on auth errors.
Pre-Publish Checklist
Publishing turns someone’s build output into a public asset — self-check before publishing:
- ✅ Valid manifest: correct
type;nameis a valid English kebab slug (2–64, lowercase, starts with a letter). - ✅ Complete directory: Agent must have
ROLE.md+README.md+agent.json; Team must haveREADME.md+team.json+ member ROLEs; Skill must haveSKILL.md+skill.json. - ✅ Substantive ROLE/SKILL: ROLE.md ≥5 paragraphs; SKILL.md has real instructions and examples.
- ✅ Compressed images in repo: all under
images/, ≤50KB (avatar 512×512 JPEG; icon PNG ≤30KB). - ✅ License declared: manifest
licenseset to an explicit license (see below). - ✅ No unauthorized publishing: only publish assets you have attribution/modification rights to; translations/derivatives of others’ content must keep
originalSourceattribution.
The system validates the manifest at write / save / share time — invalid format or slug is rejected on the spot; this is the first automated check.
License & Attribution Compliance
- The top-level
licensein the manifest declares the package’s license (e.g. MIT, Apache-2.0). No declared license = a legal gray area. Before publishing, be clear about which code/content may be reused and what obligations apply (e.g. retaining attribution, share-alike). - When migrating/adapting others’ assets from other repos, keep the original project’s license and
originalSourceattribution to avoid infringement. - Don’t publish assets containing secrets/internal credentials or violating third-party terms — check file contents before publishing.
6. Install into an Organization (Install)
| Step | How |
|---|---|
| 1. Download | hub_download fetches to builder-artifacts |
| 2. Install | User installs on the Builder page, or multiple agents use package_install |
| 3. Take effect | skills/ → ~/.markus/skills/ (SKILL.md injected after activation); agents/ → a real Agent; teams/ → team members materialize |
⚠️ No auto-install: downloading/creating an artifact is just “storing in builder-artifacts”; installing = deploying into the active organization (Agent consumes resources, Skills become usable, Team gains members). Only run
package_install/hub_installwhen the user explicitly requests it (“install” / “deploy” / “hire”).
7. Billing & Subscriptions (Brief)
- The billing entity is the organization; subscription Plans (Free / Basic / Plus / Pro / Max / Team / Enterprise) + CU top-ups + marketplace purchases + donations.
- Free users can claim a one-time credit bundle proactively on the Hub settings page; credits are metered and consumed in CU.
- Specific billing rules and quotas follow the actual purchase page.
8. Next Steps
- Digital asset types & building → Agents · Teams · Skills · Connectors.
- External platform integration (Feishu is currently officially supported) → Other / Feishu Integration.
- Terminology & ops planning → Other / Reference & Admin.