mibo 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mibo/__init__.py +36 -0
- mibo/__main__.py +3 -0
- mibo/_bundled/data/market/README.md +80 -0
- mibo/_bundled/data/market/categories.json +16 -0
- mibo/_bundled/data/market/notes.json +16 -0
- mibo/_bundled/data/market/servers.json +1002 -0
- mibo/_bundled/data/market/skills.json +88621 -0
- mibo/_bundled/data/output_filter.en.json +4 -0
- mibo/_bundled/data/output_filter.zh.json +4 -0
- mibo/_bundled/data/persona.example.de.txt +9 -0
- mibo/_bundled/data/persona.example.en.txt +9 -0
- mibo/_bundled/data/persona.example.es.txt +9 -0
- mibo/_bundled/data/persona.example.fr.txt +9 -0
- mibo/_bundled/data/persona.example.ja.txt +9 -0
- mibo/_bundled/data/persona.example.ko.txt +9 -0
- mibo/_bundled/data/persona.example.pt-BR.txt +9 -0
- mibo/_bundled/data/persona.example.ru.txt +9 -0
- mibo/_bundled/data/persona.example.zh-TW.txt +9 -0
- mibo/_bundled/data/persona.example.zh.txt +9 -0
- mibo/_bundled/data/personas/de/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/de/claude.txt +9 -0
- mibo/_bundled/data/personas/de/deepseek.txt +10 -0
- mibo/_bundled/data/personas/de/mibo.txt +10 -0
- mibo/_bundled/data/personas/en/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/en/claude.txt +9 -0
- mibo/_bundled/data/personas/en/deepseek.txt +10 -0
- mibo/_bundled/data/personas/en/mibo.txt +10 -0
- mibo/_bundled/data/personas/es/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/es/claude.txt +9 -0
- mibo/_bundled/data/personas/es/deepseek.txt +10 -0
- mibo/_bundled/data/personas/es/mibo.txt +10 -0
- mibo/_bundled/data/personas/fr/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/fr/claude.txt +9 -0
- mibo/_bundled/data/personas/fr/deepseek.txt +10 -0
- mibo/_bundled/data/personas/fr/mibo.txt +10 -0
- mibo/_bundled/data/personas/ja/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/ja/claude.txt +9 -0
- mibo/_bundled/data/personas/ja/deepseek.txt +10 -0
- mibo/_bundled/data/personas/ja/mibo.txt +10 -0
- mibo/_bundled/data/personas/ko/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/ko/claude.txt +9 -0
- mibo/_bundled/data/personas/ko/deepseek.txt +10 -0
- mibo/_bundled/data/personas/ko/mibo.txt +10 -0
- mibo/_bundled/data/personas/pt-BR/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/pt-BR/claude.txt +9 -0
- mibo/_bundled/data/personas/pt-BR/deepseek.txt +10 -0
- mibo/_bundled/data/personas/pt-BR/mibo.txt +10 -0
- mibo/_bundled/data/personas/ru/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/ru/claude.txt +9 -0
- mibo/_bundled/data/personas/ru/deepseek.txt +10 -0
- mibo/_bundled/data/personas/ru/mibo.txt +10 -0
- mibo/_bundled/data/personas/zh/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/zh/claude.txt +9 -0
- mibo/_bundled/data/personas/zh/deepseek.txt +10 -0
- mibo/_bundled/data/personas/zh/mibo.txt +10 -0
- mibo/_bundled/data/personas/zh-TW/chatgpt.txt +9 -0
- mibo/_bundled/data/personas/zh-TW/claude.txt +9 -0
- mibo/_bundled/data/personas/zh-TW/deepseek.txt +10 -0
- mibo/_bundled/data/personas/zh-TW/mibo.txt +10 -0
- mibo/abilities.py +527 -0
- mibo/acting.py +134 -0
- mibo/activity.py +439 -0
- mibo/addressing.py +72 -0
- mibo/agent.py +399 -0
- mibo/autostart.py +112 -0
- mibo/browsed.py +321 -0
- mibo/browser.py +2041 -0
- mibo/cardwait.py +82 -0
- mibo/catalog.py +147 -0
- mibo/channels.py +88 -0
- mibo/character.py +246 -0
- mibo/chatlangs/__init__.py +145 -0
- mibo/chatlangs/de.py +97 -0
- mibo/chatlangs/en.py +59 -0
- mibo/chatlangs/es.py +76 -0
- mibo/chatlangs/fr.py +90 -0
- mibo/chatlangs/ja.py +85 -0
- mibo/chatlangs/ko.py +84 -0
- mibo/chatlangs/pt_BR.py +78 -0
- mibo/chatlangs/ru.py +67 -0
- mibo/chatlangs/zh.py +51 -0
- mibo/chatlangs/zh_TW.py +63 -0
- mibo/chatlog.py +263 -0
- mibo/cli.py +143 -0
- mibo/config_env.py +112 -0
- mibo/consoles.py +38 -0
- mibo/consolidate.py +693 -0
- mibo/context.py +437 -0
- mibo/db.py +445 -0
- mibo/decision.py +39 -0
- mibo/desk/__init__.py +12 -0
- mibo/desk/gate.py +218 -0
- mibo/desk/grants.py +302 -0
- mibo/desk/hands.py +849 -0
- mibo/desk/names.py +210 -0
- mibo/desk/operate.py +435 -0
- mibo/desk/panel.py +669 -0
- mibo/desk/shape.py +95 -0
- mibo/desk/strip.py +358 -0
- mibo/desk/tool.py +197 -0
- mibo/desk/uia.py +1342 -0
- mibo/desk/win32.py +874 -0
- mibo/dm.py +703 -0
- mibo/drafting.py +48 -0
- mibo/electron/main.js +220 -0
- mibo/electron/package-lock.json +3588 -0
- mibo/electron/package.json +12 -0
- mibo/electron/preload.js +3 -0
- mibo/embeddings.py +126 -0
- mibo/endpoints.py +251 -0
- mibo/findtool.py +177 -0
- mibo/followup.py +87 -0
- mibo/home.py +46 -0
- mibo/host/__init__.py +2 -0
- mibo/host/etab.py +110 -0
- mibo/host/launch.py +179 -0
- mibo/i18n.py +99 -0
- mibo/ingestion.py +919 -0
- mibo/installed_browser.py +192 -0
- mibo/langs.py +77 -0
- mibo/library.py +281 -0
- mibo/life.py +179 -0
- mibo/llm.py +776 -0
- mibo/locales/de.json +2321 -0
- mibo/locales/en.json +2315 -0
- mibo/locales/es.json +2321 -0
- mibo/locales/fr.json +2321 -0
- mibo/locales/ja.json +2305 -0
- mibo/locales/ko.json +2305 -0
- mibo/locales/pt-BR.json +2321 -0
- mibo/locales/ru.json +2353 -0
- mibo/locales/zh-TW.json +2305 -0
- mibo/locales/zh.json +2324 -0
- mibo/lookup_need.py +77 -0
- mibo/loop.py +590 -0
- mibo/mcp_client.py +570 -0
- mibo/mcp_hub.py +749 -0
- mibo/mcp_market.py +615 -0
- mibo/mcp_offer.py +356 -0
- mibo/mcp_tools.py +1024 -0
- mibo/memory.py +1032 -0
- mibo/memstate.py +163 -0
- mibo/memstore.py +92 -0
- mibo/messages.py +76 -0
- mibo/modelcatalog.json +1 -0
- mibo/modelcatalog.py +92 -0
- mibo/openrouter_signin.py +74 -0
- mibo/pacing.py +316 -0
- mibo/panels/__init__.py +12 -0
- mibo/panels/browser.py +665 -0
- mibo/panels/colors.py +104 -0
- mibo/panels/compose.py +317 -0
- mibo/panels/desk.py +410 -0
- mibo/panels/detect.py +103 -0
- mibo/panels/feed.py +951 -0
- mibo/panels/links.py +216 -0
- mibo/panels/look.py +260 -0
- mibo/panels/modelbar.py +178 -0
- mibo/panels/models.py +102 -0
- mibo/panels/pet.py +30 -0
- mibo/panels/profile.py +127 -0
- mibo/panels/quiet.py +30 -0
- mibo/panels/remarks.py +148 -0
- mibo/panels/runtime.py +96 -0
- mibo/panels/schedule.py +729 -0
- mibo/panels/signin.py +228 -0
- mibo/panels/signins.py +510 -0
- mibo/panels/sources.py +212 -0
- mibo/panels/tools.py +268 -0
- mibo/panels/tuning.py +161 -0
- mibo/panels/walks.py +132 -0
- mibo/pastchats.py +118 -0
- mibo/paths.py +119 -0
- mibo/person.py +1291 -0
- mibo/petchat.py +239 -0
- mibo/petoff.py +62 -0
- mibo/petshot.py +75 -0
- mibo/places.py +93 -0
- mibo/players.py +143 -0
- mibo/profile.py +812 -0
- mibo/prompt.py +276 -0
- mibo/prompts.py +436 -0
- mibo/py.typed +0 -0
- mibo/quiet.py +676 -0
- mibo/ranking.py +288 -0
- mibo/reach.py +67 -0
- mibo/recent.py +85 -0
- mibo/recommend.py +750 -0
- mibo/remarks.py +584 -0
- mibo/resolve.py +214 -0
- mibo/retrieval.py +283 -0
- mibo/review.py +826 -0
- mibo/roam.py +1182 -0
- mibo/runtimes.py +259 -0
- mibo/schedule.py +564 -0
- mibo/schedule_tool.py +194 -0
- mibo/search.py +338 -0
- mibo/secretstore.py +125 -0
- mibo/see/__init__.py +21 -0
- mibo/see/act.py +673 -0
- mibo/see/ask.py +270 -0
- mibo/see/capture.py +210 -0
- mibo/see/frame.py +126 -0
- mibo/see/native.py +126 -0
- mibo/see/profile.py +139 -0
- mibo/see/remote.py +58 -0
- mibo/see/run.py +107 -0
- mibo/see/when.py +60 -0
- mibo/see/words.py +98 -0
- mibo/settings.py +260 -0
- mibo/settingsfile.py +323 -0
- mibo/setup_wizard.py +611 -0
- mibo/shell/__init__.py +14 -0
- mibo/shell/bashread.py +1841 -0
- mibo/shell/checkpoint.py +302 -0
- mibo/shell/files.py +498 -0
- mibo/shell/grants.py +305 -0
- mibo/shell/panel.py +885 -0
- mibo/shell/parse.ps1 +142 -0
- mibo/shell/read.py +1709 -0
- mibo/shell/run.py +369 -0
- mibo/shell/tool.py +360 -0
- mibo/shell/words.py +397 -0
- mibo/shell/written.py +106 -0
- mibo/shortcut.py +183 -0
- mibo/signwatch.py +330 -0
- mibo/situation.py +698 -0
- mibo/skills/__init__.py +10 -0
- mibo/skills/builtin/compare-options/SKILL.md +19 -0
- mibo/skills/builtin/draft-in-their-voice/SKILL.md +20 -0
- mibo/skills/builtin/tidy-downloads/SKILL.md +30 -0
- mibo/skills/builtin/weekly-reading-digest/SKILL.md +18 -0
- mibo/skills/market.py +673 -0
- mibo/skills/panel.py +234 -0
- mibo/skills/store.py +456 -0
- mibo/skills/tool.py +272 -0
- mibo/snip.py +187 -0
- mibo/sources/__init__.py +1 -0
- mibo/sources/base.py +222 -0
- mibo/sources/catalog.py +453 -0
- mibo/sources/china.py +400 -0
- mibo/sources/culture.py +414 -0
- mibo/sources/custom.py +249 -0
- mibo/sources/live.py +117 -0
- mibo/sources/regional.py +336 -0
- mibo/sources/tech.py +397 -0
- mibo/sources/weights.py +202 -0
- mibo/sources/world.py +387 -0
- mibo/spend.py +384 -0
- mibo/static/app.ico +0 -0
- mibo/static/app.png +0 -0
- mibo/static/characters/LICENSE.md +16 -0
- mibo/static/characters/chatgpt.webp +0 -0
- mibo/static/characters/claude.webp +0 -0
- mibo/static/characters/deepseek.webp +0 -0
- mibo/static/welcome/activity.css +603 -0
- mibo/static/welcome/activity.js +476 -0
- mibo/static/welcome/app.css +1441 -0
- mibo/static/welcome/app.html +129 -0
- mibo/static/welcome/app.js +1043 -0
- mibo/static/welcome/browse.css +1112 -0
- mibo/static/welcome/browse.js +890 -0
- mibo/static/welcome/browsemenu.js +219 -0
- mibo/static/welcome/browsestrip.js +105 -0
- mibo/static/welcome/browsetabs.js +110 -0
- mibo/static/welcome/card.css +360 -0
- mibo/static/welcome/card.js +545 -0
- mibo/static/welcome/characters.css +282 -0
- mibo/static/welcome/characters.js +278 -0
- mibo/static/welcome/chat.css +1847 -0
- mibo/static/welcome/chat.js +1997 -0
- mibo/static/welcome/compact.css +80 -0
- mibo/static/welcome/compact.js +160 -0
- mibo/static/welcome/figures/chatgpt.pet.json +1 -0
- mibo/static/welcome/figures/chatgpt.pet.webp +0 -0
- mibo/static/welcome/figures/chatgpt.webp +0 -0
- mibo/static/welcome/figures/claude.pet.json +1 -0
- mibo/static/welcome/figures/claude.pet.webp +0 -0
- mibo/static/welcome/figures/claude.webp +0 -0
- mibo/static/welcome/figures/deepseek.pet.json +1 -0
- mibo/static/welcome/figures/deepseek.pet.webp +0 -0
- mibo/static/welcome/figures/deepseek.webp +0 -0
- mibo/static/welcome/figures/mibo.svg +92 -0
- mibo/static/welcome/finds.css +50 -0
- mibo/static/welcome/finds.js +185 -0
- mibo/static/welcome/i18n.js +98 -0
- mibo/static/welcome/linkcard.css +140 -0
- mibo/static/welcome/linkcard.js +174 -0
- mibo/static/welcome/markdown-it.LICENSE.txt +163 -0
- mibo/static/welcome/markdown-it.umd.min.js +14 -0
- mibo/static/welcome/modelbar.css +491 -0
- mibo/static/welcome/modelbar.js +744 -0
- mibo/static/welcome/onboard.css +1104 -0
- mibo/static/welcome/onboard.js +706 -0
- mibo/static/welcome/pet.css +411 -0
- mibo/static/welcome/pet.html +73 -0
- mibo/static/welcome/pet.js +2695 -0
- mibo/static/welcome/petbox.js +244 -0
- mibo/static/welcome/petclick.js +143 -0
- mibo/static/welcome/petdial.js +145 -0
- mibo/static/welcome/petedge.js +133 -0
- mibo/static/welcome/petline.js +138 -0
- mibo/static/welcome/petoff.js +22 -0
- mibo/static/welcome/petux.css +305 -0
- mibo/static/welcome/plus.css +173 -0
- mibo/static/welcome/plus.js +399 -0
- mibo/static/welcome/providermarks.js +27 -0
- mibo/static/welcome/schedulechat.js +170 -0
- mibo/static/welcome/setup/about.js +29 -0
- mibo/static/welcome/setup/character.js +170 -0
- mibo/static/welcome/setup/connect.js +12 -0
- mibo/static/welcome/setup/device.js +435 -0
- mibo/static/welcome/setup/language.js +116 -0
- mibo/static/welcome/setup/memory.js +354 -0
- mibo/static/welcome/setup/model.js +1094 -0
- mibo/static/welcome/setup/privacy.js +467 -0
- mibo/static/welcome/setup/programs.js +200 -0
- mibo/static/welcome/setup/recs.js +261 -0
- mibo/static/welcome/setup/schedule.css +190 -0
- mibo/static/welcome/setup/schedule.js +217 -0
- mibo/static/welcome/setup/shell.js +194 -0
- mibo/static/welcome/setup/skills.css +635 -0
- mibo/static/welcome/setup/skills.js +910 -0
- mibo/static/welcome/setup/tools.js +1238 -0
- mibo/static/welcome/setup/walks.js +260 -0
- mibo/static/welcome/setup.css +2067 -0
- mibo/static/welcome/setup.js +402 -0
- mibo/static/welcome/signin.css +59 -0
- mibo/static/welcome/sites.css +601 -0
- mibo/static/welcome/sites.js +417 -0
- mibo/static/welcome/toolcard.js +222 -0
- mibo/storage.py +422 -0
- mibo/subjects.py +356 -0
- mibo/surface.py +480 -0
- mibo/taste.py +1021 -0
- mibo/textproc.py +428 -0
- mibo/timewords.py +803 -0
- mibo/today.py +466 -0
- mibo/transport.py +92 -0
- mibo/turnctx.py +19 -0
- mibo/turnon.py +128 -0
- mibo/turns.py +82 -0
- mibo/updates.py +135 -0
- mibo/usage.py +207 -0
- mibo/views.py +93 -0
- mibo/web/Readability.js +2786 -0
- mibo/web/__init__.py +8 -0
- mibo/web/connect.py +79 -0
- mibo/web/fetch.py +256 -0
- mibo/web/gate.py +410 -0
- mibo/web/operate.py +2139 -0
- mibo/web/pagejudge.py +171 -0
- mibo/web/pageops.py +2699 -0
- mibo/web/pagetext.py +425 -0
- mibo/web/places.json +19 -0
- mibo/web/read.py +297 -0
- mibo/web/reader.js +630 -0
- mibo/web/seeds.json +86 -0
- mibo/web/signin.py +481 -0
- mibo/web/signin_sites.json +221 -0
- mibo/web/sites.py +632 -0
- mibo/web/tabs.py +361 -0
- mibo/welcome.py +1998 -0
- mibo/window.py +2150 -0
- mibo-0.1.0.dist-info/METADATA +176 -0
- mibo-0.1.0.dist-info/RECORD +372 -0
- mibo-0.1.0.dist-info/WHEEL +4 -0
- mibo-0.1.0.dist-info/entry_points.txt +2 -0
- mibo-0.1.0.dist-info/licenses/LICENSE +202 -0
- mibo-0.1.0.dist-info/licenses/NOTICE +112 -0
- mibo-0.1.0.dist-info/licenses/mibo/static/characters/LICENSE.md +16 -0
- mibo-0.1.0.dist-info/licenses/mibo/static/welcome/markdown-it.LICENSE.txt +163 -0
mibo/__init__.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""mibo — the application package.
|
|
2
|
+
|
|
3
|
+
The app's page (welcome.py) holds the character and reaches it through
|
|
4
|
+
character.py. The character is ``Agent``, configured by one settings record and
|
|
5
|
+
composed from one mixin per concern:
|
|
6
|
+
|
|
7
|
+
- settings everything the agent is configured with, built once and passed in
|
|
8
|
+
- agent wiring: applies the settings and builds the runtime state
|
|
9
|
+
- turns the turn being answered: what was chosen for it, its time
|
|
10
|
+
- dm the chat with the one person: a message read, a turn of the model
|
|
11
|
+
- messages reading what the person sent: words, links, pictures, files
|
|
12
|
+
- decision what becomes of a draft
|
|
13
|
+
- followup asking after a plan, the one thing said unasked
|
|
14
|
+
- llm model calls: endpoints, retries, fallback, probes
|
|
15
|
+
- prompts the persona contract (style guide, output protocol)
|
|
16
|
+
- textproc pure text: tokenising, sanitising, the prompt's data frames
|
|
17
|
+
- ingestion links, pictures, vision, with the SSRF guard
|
|
18
|
+
- memory the one person the app is for (person.py), and the chats' turns
|
|
19
|
+
|
|
20
|
+
Supporting modules, pure logic with no agent state:
|
|
21
|
+
|
|
22
|
+
- endpoints which endpoint serves a model name
|
|
23
|
+
- channels the keys a chat goes by
|
|
24
|
+
- config_env the one way to read a setting out of the environment
|
|
25
|
+
|
|
26
|
+
The entry point is the `mibo` command (cli.py), which opens the app.
|
|
27
|
+
Read-only seed datasets ship with the package (paths.seed_file); everything
|
|
28
|
+
the agent keeps at runtime goes to <home>/runtime/ (paths.ROOT is the home).
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
from mibo import consoles
|
|
32
|
+
|
|
33
|
+
__version__ = "0.1.0"
|
|
34
|
+
|
|
35
|
+
# Started without a console (pythonw, a packaged shell): what it starts opens no console window.
|
|
36
|
+
consoles.hush()
|
mibo/__main__.py
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# The skill market's catalog
|
|
2
|
+
|
|
3
|
+
`skills.json` lists public [Agent Skills](https://agentskills.io) (folders holding a `SKILL.md`) that Mibo's skill market offers. It points at skills and does not copy them. No skill's text or files are in this repository or in the app's package. An entry holds facts about one skill: where it lives (repository, folder, the full commit it was read at, a page to open), its licence, a category, what it needs, how well it fits Mibo, how popular it is, what a safety scan found, and a hash of its folder. Each title and one-sentence description, in Chinese and English, was written for the catalog from the skill's own description. When a person presses install, the app fetches the folder from its own public source at the entry's commit and checks that the hash matches before writing anything.
|
|
4
|
+
|
|
5
|
+
The app ships this file as a snapshot. At most once a day it fetches a fresh copy from `https://raw.githubusercontent.com/wangkant/mibo/main/data/market/skills.json` (the constant `CATALOG_URL` in `mibo/skills/market.py`). That address follows this repository, which is to be renamed. If the fetch fails, the app keeps using the snapshot. The catalog is data from the network: the app reads nothing in it as an instruction, escapes every string it shows, and drops any entry that points outside a public https git host.
|
|
6
|
+
|
|
7
|
+
`categories.json` holds the fixed categories' names in Chinese and English. `notes.json` holds the English of the Chinese notes the catalog writes.
|
|
8
|
+
|
|
9
|
+
## What it holds (build of 2026-11-20)
|
|
10
|
+
|
|
11
|
+
1,386 skills from 60 repositories: 23 publishers of their own product or model (Anthropic, OpenAI, Google, Vercel, Hugging Face, ElevenLabs, Notion, Obsidian, 飞书, MiniMax, DeepSeek, ByteDance and others), 19 community collections and 18 Chinese-language collections. 38 copies of a skill already listed and 4 folders the app could not load were left out; with them, two repositories have nothing listed (sergebulaev/linkedin-skills holds a link, alchaincyf/huashu-art-motion is too large).
|
|
12
|
+
|
|
13
|
+
- Licence: 1,352 installable (794 MIT, 502 Apache-2.0, 16 BSD-3-Clause, 1 CC-BY-4.0, 1 AGPL-3.0, 38 with no licence stated); 34 not installable (17 restricted or unclear, 17 non-commercial).
|
|
14
|
+
- Fit: 441 `ready`, 712 `partial`, 233 `no`.
|
|
15
|
+
- Scan: 821 `none`, 504 `low`, 61 `high`.
|
|
16
|
+
|
|
17
|
+
Left out on purpose: repositories made only for building on one cloud (google/skills, microsoft/azure-skills), for ML engineering (Orchestra-Research/AI-Research-SKILLs) or for code auditing (trailofbits/skills); Composio's 832 generated per-app wrappers; link lists that hold no skills of their own (the awesome lists); and large aggregators of copied skills. Skills distributed outside git, such as ClawHub's registry, are not included because they carry no readable licence and no commit to check against.
|
|
18
|
+
|
|
19
|
+
## How it is built
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
python tools/skillmarket/build.py --cache <folder>
|
|
23
|
+
python tools/skillmarket/check.py --cache <folder>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
`tools/skillmarket/sources.json` lists the repositories to walk. Original publishers come before collections that gather other people's skills. A repository's `skip` says why it is left out, and its `exclude` lists folders left out of it (a repository's own bots, copies kept for other agent hosts, generated wrappers). For each repository the builder:
|
|
27
|
+
|
|
28
|
+
- Resolves the default branch to a commit (`git ls-remote`).
|
|
29
|
+
- Downloads one archive at that commit from `codeload.github.com` and keeps only the skill folders, the licence files above them and the README, in the cache.
|
|
30
|
+
- Finds every `SKILL.md` and reads its front matter with the app's own parser. Skills the app could not load are left out: bad name, no description, no body, links or refused names in the folder, or too large.
|
|
31
|
+
- Reads the licence that governs each skill (see below).
|
|
32
|
+
- Notes the scripts beside a skill and the runtimes they need.
|
|
33
|
+
- Dates each folder by the last commit that touched it, from a blobless clone that is deleted afterwards.
|
|
34
|
+
- Reads stars from GitHub's API, one call per repository, cached for the day.
|
|
35
|
+
- Reads install counts from the repository's public page on skills.sh. Those counts are rounded the way the page shows them.
|
|
36
|
+
|
|
37
|
+
The builder files each skill in one of the fixed categories, judges how well it fits Mibo and runs the market's own scan (`market.scan`, the same scan the app repeats on the downloaded folder before it installs). It leaves out forks and copies: when two folders are the same skill (same hash, same instructions, or same name and description), the first in source order is kept. Titles and descriptions come from `tools/skillmarket/texts.json`. A new skill, or one whose description changed, stops the build and is listed in `<cache>/pending_texts.json` until its texts are written.
|
|
38
|
+
|
|
39
|
+
The fit values are:
|
|
40
|
+
|
|
41
|
+
- `ready`: plain instructions, or uses only what Mibo has (web search and reading, the built-in browser, commands and files in granted folders, other programs).
|
|
42
|
+
- `partial`: part of it needs something Mibo lacks: an MCP server, an API key, image generation, subagents, a runtime such as Node.js, a vendor's command-line tool, or another host's features. `fit_note` says which.
|
|
43
|
+
- `no`: made for a coding agent's sandbox or for one vendor's product.
|
|
44
|
+
|
|
45
|
+
`check.py` checks every entry offline:
|
|
46
|
+
|
|
47
|
+
- The fixed shape.
|
|
48
|
+
- Unique ids, folders and hashes.
|
|
49
|
+
- Sources only on public https git hosts, at a full commit.
|
|
50
|
+
- A licence marked installable only when it was read and is open, or when no licence is stated.
|
|
51
|
+
- No written text that repeats a long run of the skill's own description.
|
|
52
|
+
- No spoken Chinese.
|
|
53
|
+
|
|
54
|
+
Online, it takes a sample from every repository, fetches each folder fresh from its host the way the installer does, compares the hash and opens the source page.
|
|
55
|
+
|
|
56
|
+
The hash is `market.folder_hash`: sha256 over one line per file, sorted by the file's path inside the folder (POSIX, UTF-8), each line `path NUL sha256-of-the-bytes-in-hex LF`.
|
|
57
|
+
|
|
58
|
+
## The licence rule
|
|
59
|
+
|
|
60
|
+
Licences are read, not assumed. A licence file in the skill's own folder governs. Otherwise the `license` field of its front matter governs. Otherwise the nearest licence file above it governs, and failing that, a licence the README names. When the field and the file above disagree on whether the skill is open (one says MIT, the other non-commercial), the narrower one governs. The file's words are matched against the public licences: MIT, Apache-2.0, BSD, ISC, the Unlicense, CC0, CC-BY, the GPL family, MPL and CC-BY-SA.
|
|
61
|
+
|
|
62
|
+
- **Installable:** licences that allow use and redistribution (MIT, Apache-2.0, BSD, ISC, CC0, CC-BY and the like). Share-alike licences (GPL, AGPL, CC-BY-SA, MPL) also allow redistribution, and their note says so.
|
|
63
|
+
- **No licence stated (`NONE`):** listed as 未声明许可. The person may still install it from its own source, and the page says that plainly before the press.
|
|
64
|
+
- **Restricted:** licences that restrict where or for what a skill may be used (to a vendor's own products, or no commercial use) are listed and linked to their source, but cannot be installed from here.
|
|
65
|
+
- **Unsure (`CUSTOM`):** text that is none of the above is not installable.
|
|
66
|
+
|
|
67
|
+
## The safety scan
|
|
68
|
+
|
|
69
|
+
A skill is material for the model and grants nothing. Installing it runs nothing. Scripts beside a skill still run only through the command gate, with a card that names the skill. The scan looks for:
|
|
70
|
+
|
|
71
|
+
- Instructions that address the model against its person. A phrase quoted as an example of injected text to refuse ("ignore previous instructions") does not count.
|
|
72
|
+
- Addresses that receive data.
|
|
73
|
+
- Encoded code that is run.
|
|
74
|
+
- Scripts that download and run code, read credentials or browser data, or change system settings.
|
|
75
|
+
|
|
76
|
+
Any of these makes a skill `high` risk, and a high-risk skill cannot be installed from the market. Scripts, package installs, network use or long encoded text make it `low`. Each note names a rule and a file, never the file's words.
|
|
77
|
+
|
|
78
|
+
## Removal and corrections
|
|
79
|
+
|
|
80
|
+
A publisher who wants a skill or a whole repository left out, or a fact corrected (licence, category, fit, description), can open an issue at <https://github.com/wangkant/mibo/issues> with the entry's `id`. A removal goes into `removed` in `tools/skillmarket/sources.json` (as `owner/repo` or `owner/repo/path`) and takes effect with the next build. The app picks it up within a day of the catalog being published.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"note": "The market's categories in the order the page shows them, each with the places inside it (empty: none). Skills and connectors share them; tools/skillmarket/places.py puts every entry in one. Names are in mibo/locales/<code>.json under setup_skills.categories and setup_skills.subs.",
|
|
3
|
+
"categories": {
|
|
4
|
+
"writing": ["compose", "social", "fiction"],
|
|
5
|
+
"documents": ["office", "slides", "cloud"],
|
|
6
|
+
"study": ["learning", "papers", "science"],
|
|
7
|
+
"work": ["mail", "plan", "team", "files"],
|
|
8
|
+
"life": [],
|
|
9
|
+
"design": ["ui", "visual", "diagrams", "motion"],
|
|
10
|
+
"media": ["image", "video", "audio"],
|
|
11
|
+
"data": ["analysis", "finance", "investing"],
|
|
12
|
+
"business": ["marketing", "sales", "product", "company"],
|
|
13
|
+
"web": ["search", "browser"],
|
|
14
|
+
"development": ["code", "agents", "ai", "deploy"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"note": "The English of every fit_note and licence note the catalog writes, keyed by its Chinese; {product} and {runtimes} are filled in the catalog.",
|
|
3
|
+
"面向{product}的专用技能,需要该产品的账号或环境。": "Made for {product}; it needs that product's account or environment.",
|
|
4
|
+
"需要本机安装并配置 {product} 命令行工具。": "Needs the {product} command-line tool installed and set up.",
|
|
5
|
+
"面向编程智能体的代码工作流,在 Mibo 中用处有限。": "A coding agent's workflow; of limited use in Mibo.",
|
|
6
|
+
"依赖其他智能体宿主的功能(如插件、子代理或斜杠命令),在 Mibo 中无法完整使用。": "Relies on another agent host's features (plugins, subagents or slash commands); Mibo can use only part of it.",
|
|
7
|
+
"需要连接 MCP 服务器,Mibo 尚未接入该服务器时只能使用说明部分。": "Needs an MCP server; until Mibo is connected to it, only the written guidance applies.",
|
|
8
|
+
"需要第三方服务的 API 密钥。": "Needs an API key for a third-party service.",
|
|
9
|
+
"需要图像生成服务,Mibo 本身不提供。": "Needs an image generation service, which Mibo does not provide.",
|
|
10
|
+
"依赖子代理并行工作,Mibo 只能按顺序完成其中一部分。": "Relies on subagents working in parallel; Mibo does part of it in sequence.",
|
|
11
|
+
"附带的脚本需要本机安装 {runtimes}。": "Its scripts need {runtimes} installed.",
|
|
12
|
+
"开源许可,允许使用与再分发;修改后再分发须沿用相同许可。": "An open licence allowing use and redistribution; changed copies must keep the same licence.",
|
|
13
|
+
"未声明许可:作者未授予再分发许可,只能从其来源取得,仅供个人使用。": "No licence stated: the author grants no redistribution, so it is fetched from its source for personal use only.",
|
|
14
|
+
"许可禁止商业用途,此处不提供安装,请前往来源查看条款。": "The licence forbids commercial use; not installable here, see its source for the terms.",
|
|
15
|
+
"许可限定了使用范围或无法归入公开许可,此处不提供安装,请前往来源查看条款。": "The licence limits where it may be used or is not a public licence; not installable here, see its source for the terms."
|
|
16
|
+
}
|