Логотип Import Repo Skills To Agent

Import Repo Skills To Agent

Организация
VectorSpaceLab
import-repo-skills-to-agent

Export all or selected DisCo-managed repository skills, their regenerated repository-index.jsonl, and a scoped area/family repo-skills-router into Codex, Claude Code, or another agent skills directory. Use when the user asks to copy, install, synchronize, or merge repository skills into another agent or project. Resolve exact skill IDs, obtain explicit approval for replacements, then use the bundled transactional helper for validation, Codex policy injection, deterministic router merging, rollback, and resume.

Add to TypingMind

Обзор

ИздательVectorSpaceLab
РепозиторийAREX-Skill
Название навыкаimport-repo-skills-to-agent
Звёзды
341
Форки
26
Файлы в комплекте
2
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 2

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — VectorSpaceLab. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Import Repo Skills To Agent в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/import-repo-skills-to-agent
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git /tmp/AREX-Skill
mkdir -p .claude/skills
cp -r /tmp/AREX-Skill/cli/packages/coding-agent/src/disco/skills/import-repo-skills-to-agent .claude/skills/import-repo-skills-to-agent
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Import Repo Skills To Agent в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Import Repo Skills To Agent, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Import Repo Skills To Agent не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Import Repo Skills To Agent

This is a Creator-mode meta workflow. Export DisCo's managed repository-skill collection to another agent only when the user explicitly requests a cross-agent export. Cross-agent export is an artifact-management operation, not downstream research: the selected repository skills normally carry the operating role, but Creator may inspect them as export inputs without using them as operating context or asking the user to switch to Researcher. DisCo already uses its live collection through repo-skills-router and explicit /skill:<name> invocation; it does not need this workflow for its own runtime.

Use the bundled helper for every filesystem mutation:

text
scripts/export_repo_skills_to_agent.mjs

Do not manually copy skills, concatenate indexes, or merge generated router Markdown.

Collection layout

Treat the source collection root as the directory containing these siblings:

text
<disco-agent-root>/skills/repositories/
├── repo-skills/
│   ├── <skill-id>/
│   └── repository-index.jsonl
└── repo-skills-router/

The default source agent root is $DISCO_CODING_AGENT_DIR when set, otherwise ~/.disco/agent. The target uses the same collection shape below its skills root:

text
<target-skills-root>/repositories/
├── repo-skills/
│   ├── <skill-id>/
│   └── repository-index.jsonl
└── repo-skills-router/

Keep unrelated target skills outside repositories/ unchanged.

Resolve the target

Prefer an unambiguous target argument:

  • Use --target-skills-root <dir> when the path is already a skills root, such as ~/.agents/skills or ~/.claude/skills.
  • Use --target-agent-dir <dir> when the path is an agent root; the helper appends skills/repositories.
  • Use --target <dir> --target-kind skills-root|agent-root for a generic path.
  • Allow --target with automatic inference only when the basename or existing layout makes the meaning unambiguous.

For Codex, default an agent-only request to the current user-level agent root ~/.agents, not the legacy ~/.codex. Pass --target-agent codex. For Claude Code or a generic target, pass --target-agent agent-neutral unless that target explicitly requires Codex policy metadata.

Resolve the selection

The helper accepts exact repository skill IDs. Before invoking it:

  1. Read the source repo-skills/repository-index.jsonl and direct repo-skills/<skill-id>/SKILL.md files as export input artifacts. In Creator, this is an explicit exception to the operating-context visibility boundary: inspect them only to resolve and validate the export, never to invoke their instructions or perform their downstream workflows.
  2. Resolve user terms, repository names, aliases, or wildcards to exact skill_id values.
  3. Show the matched IDs when the request is ambiguous or a wildcard expands to more than the user likely expects.
  4. Omit --include-skill for a full export. Repeat it, or pass comma-separated IDs, for a subset.

Do not select review artifacts, test outputs, environments, sessions, prompts, or directories outside the managed repo-skills/ collection.

Resolve conflicts before mutation

Inspect the target collection before starting the helper. For every selected skill ID already present under target repositories/repo-skills/:

  1. Summarize the source and target paths and the relevant identity difference.
  2. Ask whether to replace that exact target skill.
  3. Pass --overwrite-skill <skill-id> only for approved replacements.
  4. Exclude a declined skill from the selected export and report it as skipped.

Never silently overwrite a repository skill. The helper independently rejects an unapproved conflict and refuses repository-identity collisions.

Run the transaction

For a selected Codex export:

bash
node <this-skill>/scripts/export_repo_skills_to_agent.mjs \
  --source-agent-dir <disco-agent-root> \
  --target-agent-dir ~/.agents \
  --target-agent codex \
  --include-skill <skill-id> \
  --overwrite-skill <approved-skill-id>

For a full agent-neutral export to an exact skills root:

bash
node <this-skill>/scripts/export_repo_skills_to_agent.mjs \
  --source-agent-dir <disco-agent-root> \
  --target-skills-root <target-skills-root> \
  --target-agent agent-neutral

The helper performs one deterministic workflow:

  1. Validate source and existing target paths, symlink safety, skill identity, v2 references/repo-routing-metadata.json, exact taxonomy assignments, and source/target non-overlap.
  2. Generate a filtered source router for the selected skills without modifying the source collection.
  3. Merge selected source records with unrelated target records by canonical skill_id and owner/repository identity.
  4. Stage the final repo-skills/ tree.
  5. For a Codex target, add or update agents/openai.yaml beside every root and descendant SKILL.md in the staged non-router repository skills, setting policy.allow_implicit_invocation: false while preserving unrelated OpenAI metadata. Never add this policy to repo-skills-router.
  6. Regenerate repo-skills/repository-index.jsonl and the sibling router from the final merged records. Do not copy a stale source root index or combine Markdown pages.
  7. Revalidate taxonomy paths, links, repository and assignment indexes, router visibility, selected/unselected boundaries, and Codex policy before touching the live target.
  8. Replace only target repositories/repo-skills/ and repositories/repo-skills-router/ through the persisted transaction.
  9. Validate the installed target and commit, or restore the exact previous target if a post-mutation step fails.

The final root repository-index.jsonl must be byte-for-byte consistent with repo-skills-router/references/index/repositories.jsonl. A subset export must not leak unselected source skills into either index or any generated area or family page. Existing unrelated target repository skills and assignments must remain present.

Index and visibility contract

The long-lived repository indexes intentionally do not store a per-repository skill content_sha256. They preserve repository identity, provenance, routing assignments, and descriptions; their complete-file integrity is protected by the router's build-metadata.json index digests. The import handoff may still contain a one-time skill_content_sha256, which is checked while importing the verified runtime tree and is not copied into either long-lived repository index.

Target-specific agents/openai.yaml files are still excluded from the handoff's portable-tree digest. Do not ignore arbitrary extra files, symlinks, or non-regular entries.

Keep repo-skills-router model-visible for a fresh target. Preserve an existing target router's visibility by default; use --router-visibility enabled|disabled only when the user explicitly asks to change it. Repository skills remain hidden from implicit selection through their portable frontmatter and, for Codex targets, the target-only OpenAI policy.

Recover an interrupted export

The helper prints the persisted transaction directory on failure. Its manifest stores both the selected index fingerprint and a transaction-only snapshot of the selected source skill trees. This keeps interrupted exports safe without reintroducing a per-repository digest into the long-lived indexes. Resume or retry exactly that transaction with:

bash
node <this-skill>/scripts/export_repo_skills_to_agent.mjs \
  --resume <transaction-directory>

Do not manually repair a partial target. The helper restores any mutation phase to the recorded target snapshot, then reuses the persisted source, selection, overwrite approvals, target policy, and router visibility. For a validated pre-mutation transaction, it revalidates the source fingerprint, target snapshot, and staging before committing it. Arguments do not need to be repeated; any explicitly repeated argument must match the manifest or resume stops before mutation.

If rollback cannot restore the exact recorded target snapshot, preserve the reported staging and backup paths and stop for manual inspection.

Safety and handoff

  • Keep the source collection read-only.
  • Reject source/target overlap and paths that traverse symlinks.
  • Do not import a structurally invalid selected skill or infer missing routing metadata.
  • Do not delete unrelated target skills or assignments.
  • Do not add Codex policy to the router.
  • Do not report success until live target validation and transaction commit both complete.

Report the resolved source and target, exact selected IDs, copied and approved replacement counts, final repository and assignment counts, router action, Codex policy mode, and any skipped conflicts. If the target agent caches skill discovery, tell the user to restart or reload it.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Import Repo Skills To Agent?

Export all or selected DisCo-managed repository skills, their regenerated repository-index.jsonl, and a scoped area/family repo-skills-router into Codex, Claude Code, or another agent skills directory. Use when the user asks to copy, install, synchronize, or merge repository skills into another agent or project. Resolve exact skill IDs, obtain explicit approval for replacements, then use the bundled transactional helper for validation, Codex policy injection, deterministic router merging, rollback, and resume.

Зачем использовать Import Repo Skills To Agent в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Import Repo Skills To Agent — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Import Repo Skills To Agent в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/VectorSpaceLab/AREX-Skill/tree/main/cli/packages/coding-agent/src/disco/skills/import-repo-skills-to-agent. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Import Repo Skills To Agent?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Import Repo Skills To Agent?

С любым количеством. В TypingMind вы можете использовать Import Repo Skills To Agent с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Import Repo Skills To Agent?

Да. Навык опубликован на GitHub по лицензии Apache-2.0. Издатель — VectorSpaceLab. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип anthropics

Docx

anthropics
ОрганизацияПопулярный

Используйте этот навык для создания, чтения, редактирования и обработки документов Word (.docx) и шаблонов Word (.dotx). Поводом могут быть любые упоминания «документа Word», «файла Word»,…

21.8K
184K
Файлы: 59
Открыть
Логотип openclaw

Openclaw Docker E2e Authoring

openclaw
ОрганизацияПопулярный

Создавайте Docker-сценарии E2E для OpenClaw и Docker-сценарии live-провайдеров.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Openclaw Parallels Smoke

openclaw
ОрганизацияПопулярный

Подготавливайте, сохраняйте снимки, запускайте и повторно запускайте проверки установки OpenClaw в гостевых системах Parallels, первичной настройки, Gateway smoke-тестов и обновлений в macOS, Windows и Linux; отлаживайте и анализируйте их результаты.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Openclaw Update

openclaw
ОрганизацияПопулярный

Передавайте владельцу установки плановые обновления существующего локального или удалённого OpenClaw Gateway с автоматическим восстановлением сессии. Если доступны навыки для конкретного типа развёртывания, используйте их.

82.2K
391K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇