Логотип Sh Router

Sh Router

Сообщество
dmdhrumilmistry
sh-router

Entry point / dispatcher for the security-harness. Use when the user asks for any application-security work - 'security review', 'audit this codebase', 'pentest', 'find vulnerabilities', 'check for SQLi/XSS/IDOR/SSRF', 'generate a security report/SARIF'. Interprets the request and routes it to the full sh-security-review pipeline, a single stage, or a single vulnerability-class knowledge base.

Обзор

Издательdmdhrumilmistry
Репозиторийsecurity-harness
Название навыкаsh-router
Звёзды
42
Форки
11
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

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

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

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

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

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

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

Установка

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

1

Установка в TypingMind

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

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/dmdhrumilmistry/security-harness/tree/main/plugins/security-harness/skills/sh-router
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dmdhrumilmistry/security-harness.git /tmp/security-harness
mkdir -p .claude/skills
cp -r /tmp/security-harness/plugins/security-harness/skills/sh-router .claude/skills/sh-router
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

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

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

Модель сама загружает навык Sh Router, как только появляется подходящий для него запрос.

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

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

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

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

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

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

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

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

Security Harness - Router

You are the front door. Read the user's request, decide the smallest flow that satisfies it, and hand off. Prefer routing over doing the work inline - the specialized skills/agents carry the knowledge and contracts.

Routing table

The user wants…Route to
To review a pull request (a GitHub PR link, "review PR 42", "check this PR", "review these changes before merge")Invoke the sh-pr-review skill. Pass the PR link verbatim if the user gave one, else the number; with neither it uses the PR for the current branch.
A full security review / audit / pentest of a codebaseInvoke the sh-security-review skill (all stages). Pass the target path and any class filters.
To find specific class(es) only ("just SQLi and IDOR")Invoke sh-security-review with classes:<slugs>; it runs recon + those hunters + verify + report, skipping chaining if a single class.
To re-run one stage on an existing run ("re-verify", "regenerate the report", "re-scan deps")Invoke sh-security-review with stage:<recon|hunt|chain|verify|report>.
Just to learn how a class is detected/exploited, or to hand a hunter its knowledgeInvoke the matching sh-kb-<class> skill directly (no pipeline).
To map/understand a codebase only (no vuln hunt)Invoke sh-security-review with stage:recon.

Class slug map (route free-text to the right sh-kb-* skill / class filter)

  • access control, authorization, IDOR, BOLA, privilege escalation, missing authz -> access-control
  • SQL injection, SQLi, NoSQL injection (query) -> sqli
  • XSS, cross-site scripting, DOM XSS -> xss
  • SSRF, server-side request forgery -> ssrf
  • command/OS injection, template injection (SSTI), LDAP, eval -> injection
  • authentication, login, session, JWT, password, MFA -> auth
  • deserialization, pickle, unmarshal, gadget -> deserialization
  • path traversal, LFI, RFI, directory traversal, arbitrary file read -> path-traversal
  • secrets, hardcoded credentials, API keys, tokens in code -> secrets
  • CSRF, cross-site request forgery -> csrf
  • XXE, XML external entity -> xxe
  • open redirect, unvalidated redirect -> open-redirect
  • crypto, weak hashing, insecure random, encryption misuse -> crypto
  • race condition, TOCTOU, concurrency bug -> race-conditions
  • file upload, unrestricted upload, malicious file -> file-upload
  • outdated/vulnerable dependency, CVE, SBOM -> handled in recon (stage:recon or full run)

Steps

  1. Is this about a pull request? If the request contains a GitHub PR link, names a PR number, says "this PR", "these changes", "before merge", or the user is on a branch with an open PR and asks for a review, route to sh-pr-review and stop. A PR review is scoped to the diff, posts back to the PR, and sets a commit status; a codebase review is not and does neither. Do not substitute one for the other.
  2. Identify the target path (default: current working directory) and whether the user restricted the scope to specific classes or a single stage.
  3. Confirm authorization context briefly if the request implies attacking systems the user may not own (this harness does static analysis only; decline live attacks on third-party targets).
  4. Route per the table. When ambiguous between "full review" and "specific classes", default to a full review but state the assumption so the user can narrow it.
  5. Hand off by invoking the chosen skill with the parsed arguments. Pass through any classes:, stage:, depth:, and models: tokens verbatim so the pipeline honors them (see the model-override options in sh-security-review). Do not duplicate its work here.

Notes

  • Model / cost control: sh-security-review runs each stage on a cost-appropriate model by default (recon=sonnet, hunt=tiered haiku/sonnet/opus per class, chain/verify=opus, report=haiku). Users can override with models: (e.g. models:max, models:cheap, models:verify=opus,hunt=sonnet) - pass these through unchanged.
  • The pipeline writes everything under <target>/.security-harness/<run-id>/; point the user there.
  • If the user asks something outside security review (general coding), say this harness is scoped to security work and let the normal assistant handle it.

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

Что делает навык ИИ Sh Router?

Entry point / dispatcher for the security-harness. Use when the user asks for any application-security work - 'security review', 'audit this codebase', 'pentest', 'find vulnerabilities', 'check for SQLi/XSS/IDOR/SSRF', 'generate a security report/SARIF'. Interprets the request and routes it to the full sh-security-review pipeline, a single stage, or a single vulnerability-class knowledge base.

Зачем использовать Sh Router в TypingMind?

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

Как установить Sh Router в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/dmdhrumilmistry/security-harness/tree/main/plugins/security-harness/skills/sh-router. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Sh Router?

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

Со сколькими моделями ИИ можно использовать Sh Router?

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

Бесплатен ли навык ИИ Sh Router?

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

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

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

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

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

Все

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

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