Логотип Inno Code Survey

Inno Code Survey

ОрганізаціяПопулярне
OpenLAIR
inno-code-survey

Отримує відсутні репозиторії коду для вибраної ідеї (етап A) і проводить всебічний огляд коду, зіставляючи академічні концепції з реалізаціями (етап B). Виводить acquired_code_repos, updated_prepare_res і model_survey для подальшого використання inno-implementation-plan.

Огляд

ВидавецьOpenLAIR
Репозиторійdr-claw
Назва навичкиinno-code-survey
Зірки
1.2K
Форки
136
Файли в пакеті
5
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 5

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

  • Відкритий вихідний код

    Видавець на GitHub: OpenLAIR. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Inno Code Survey у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/OpenLAIR/dr-claw/tree/main/skills/inno-code-survey
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenLAIR/dr-claw.git /tmp/dr-claw
mkdir -p .claude/skills
cp -r /tmp/dr-claw/skills/inno-code-survey .claude/skills/inno-code-survey
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Inno Code Survey в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Inno Code Survey, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Inno Code Survey не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Inno Code Survey (Repo Acquisition + Code Survey)

Merges _acquire_missing_repos, _update_prepare_res_with_new_repos, and _conduct_code_survey from run_infer_idea_ours.py (lines 639–828, 1038–1052) into a single two-phase skill.

Directory structure

skills/inno-code-survey/
├── SKILL.md                                          ← this file
├── prompts/
│   ├── build_repo_acquisition_query.md               ← Phase A query template
│   └── build_code_survey_query.md                    ← Phase B query template
├── references/
│   ├── repo_acquisition_agent.md                     ← Phase A agent system prompt & tools
│   └── code_survey_agent.md                          ← Phase B agent system prompt & tools
└── scripts/
    └── github_search_clone.py                        ← GitHub search + clone helper

Path conventions

All file paths use semantic directory names under the project root:

PathContents
Ideation/references/papers/Downloaded arXiv LaTeX sources (.tex, .txt, .md)
Experiment/code_references/<repo_name>/Cloned GitHub repositories
Experiment/code_references/model_survey.mdCode survey implementation report
Experiment/code_references/logs/Phase A & B agent cache files

Inputs

These are aligned with outputs from inno-idea-generation and inno-prepare-resources:

InputSourceDescription
selected_ideaIdeation/ideas/selected_idea.txt or final_selected_idea_dataThe finalized selected idea (full markdown)
download_resinno-prepare-resources outputResult log from downloading arXiv paper sources
prepare_resinno-prepare-resources output (JSON)Contains reference_codebases and reference_paths
context_variablesShared context dictAccumulated pipeline context
instance.json<project_path>/instance.jsonPaths are absolute when created by Dr. Claw (Experiment.code_references, Ideation.references); use as-is or resolve with path.join(project_path, value) if relative. Also date_limit from context.

Outputs

OutputDescriptionConsumer
acquired_code_reposDict of {name: path} for newly cloned reposPhase B, cache
updated_prepare_resprepare_res JSON with new repos merged into reference_codebases / reference_pathsDownstream pipeline
extra_repo_infoFormatted string listing acquired reposPhase B query
model_surveyComprehensive code survey implementation reportinno-experiment-dev

Phase A — Repo Acquisition

Full template & parameter docs: prompts/build_repo_acquisition_query.md Agent system prompt & tools: references/repo_acquisition_agent.md

Maps to _acquire_missing_repos (lines 745–792) + _update_prepare_res_with_new_repos (lines 639–686).

Step A1: Analyze the selected idea and identify gaps

Read selected_idea and identify 2–3 missing technical components — novel or specialized parts that are likely NOT in the standard repos already present in Experiment/code_references/.

Step A2: Search GitHub using the "Cascade" strategy

For each missing component, perform 6 distinct queries using progressive decomposition:

  1. Level 1 (Specific): Search for the exact mechanism name
  2. Level 2 (Broad): Strip context adjectives, search core technique
  3. Level 3 (Atomic): Search for 3 base mathematical operators

Use the helper script or GitHub API directly:

bash
# Option 1: Helper script
python scripts/github_search_clone.py --query "sinkhorn attention pytorch" --limit 5 --date-limit 2025-12-31

# Option 2: Direct GitHub API via curl
curl -s "https://api.github.com/search/repositories?q=sinkhorn+attention&per_page=5" \
  -H "Accept: application/vnd.github.v3+json"

Step A3: Clone selected repos

Clone the best candidate for each gap into Experiment/code_references/:

bash
GIT_TERMINAL_PROMPT=0 git clone --depth 1 <clone_url> Experiment/code_references/<repo_name>

Step A4: Verify each clone

For each cloned repo:

  1. Read README.md: cat Experiment/code_references/<repo_name>/README.md
  2. Check language and domain relevance
  3. Reject repos that don't match (wrong domain, empty, HTML-only)

Step A5: Build acquired_code_repos and update prepare_res

  1. Build acquired_code_repos dict from verified clones:
    json
    {
      "repo_name_1": "Experiment/code_references/repo_name_1",
      "repo_name_2": "Experiment/code_references/repo_name_2"
    }
  2. Set context_variables["acquired_code_repos"] = acquired_code_repos
  3. Parse prepare_res JSON, ensure reference_codebases and reference_paths arrays exist
  4. For each entry in acquired_code_repos, if path not already in reference_paths:
    • Append repo name to reference_codebases
    • Append repo path to reference_paths
  5. Serialize back to JSON as updated_prepare_res

Step A6: Save Phase A cache

  1. Build extra_repo_info string:

    - Name: <name1> | Path: <path1>
    - Name: <name2> | Path: <path2>

    (Empty string if no repos acquired)

  2. Write Experiment/code_references/logs/repo_acquisition_agent.json:

    json
    {
      "context_variables": {
        "code_references_path": "<instance.Experiment.code_references if absolute (Dr. Claw), else path.join(project_path, ...)>",
        "references_path": "<instance.Ideation.references if absolute (Dr. Claw), else path.join(project_path, ...)>",
        "date_limit": "YYYY-MM-DD",
        "prepare_result": { ... },
        "acquired_code_repos": {
          "<name>": "<path>",
          ...
        },
        "updated_prepare_res": "<JSON string of updated prepare_res>"
      }
    }

Phase B — Code Survey

Full template & parameter docs: prompts/build_code_survey_query.md Agent system prompt & tools: references/code_survey_agent.md

Maps to _conduct_code_survey (lines 794–828).

Step B1: Build the code survey query

Construct the query using selected_idea, download_res, and extra_repo_info (from Phase A):

I have an innovative idea related to machine learning:
{selected_idea}

I have carefully gone through these papers' github repositories and found download
some of them in my local machine, in the directory `Experiment/code_references/`, use `ls`, `tree`,
and `find` to navigate the directory.
And I have also downloaded the corresponding paper (LaTeX sources, markdown, txt),
with the following information:
{download_res}

{extra_repo_info_block}

Your task is to carefully understand the innovative idea, and thoroughly review
codebases and generate a comprehensive implementation report for the innovative
idea. You can NOT stop to review the codebases until you have get all academic
concepts in the innovative idea.

Note that the code implementation should be as complete as possible.

Step B2: Survey all repos in Experiment/code_references/

Use Linux commands to navigate and read code:

ActionCommand
List reposls Experiment/code_references/ or tree Experiment/code_references/ -L 1
View repo structuretree Experiment/code_references/<repo>/ -L 3
Find Python filesfind Experiment/code_references/<repo>/ -name "*.py" -type f
Read source filecat Experiment/code_references/<repo>/model/attention.py
Search across reposrg "class.*Attention" Experiment/code_references/ or grep -rn "sinkhorn" Experiment/code_references/
Read specific linessed -n '100,200p' Experiment/code_references/<repo>/file.py

Step B3: Map each innovative module to code

For each atomic academic concept in the idea:

  1. Identify the mathematical formula
  2. Locate the corresponding implementation across repos
  3. Extract complete code snippets with file paths and function signatures

Step B4: Generate comprehensive implementation report

The report must include for each concept:

  • Academic definition — the concept name
  • Mathematical formula — precise formulation
  • Code implementation — real code from repos (not pseudocode)
  • Reference papers — which papers define this
  • Reference codebases — which repos implement it, with file paths

Step B5: Store result

Set context_variables["model_survey"] = code_survey_response (the full implementation report text).

Step B6: Save Phase B cache

Write Experiment/code_references/logs/code_survey_agent.json:

json
{
  "context_variables": {
    "code_references_path": "<instance.Experiment.code_references if absolute (Dr. Claw), else path.join(project_path, ...)>",
    "references_path": "<instance.Ideation.references if absolute (Dr. Claw), else path.join(project_path, ...)>",
    "date_limit": "YYYY-MM-DD",
    "prepare_result": { ... },
    "acquired_code_repos": { ... },
    "notes": [
      {
        "definition": "<atomic concept>",
        "math_formula": "<formula>",
        "code_implementation": "<code snippet>",
        "reference_papers": ["<paper1>"],
        "reference_codebases": ["<repo1>"]
      }
    ],
    "model_survey": "<FULL text of the comprehensive implementation report>"
  }
}

IMPORTANT: The model_survey field must contain the complete report text — never a summary or abbreviation.


Tool mappings (reference -> Linux/Claude Code)

Reference toolReplacement
search_github_repos_wrapperpython scripts/github_search_clone.py --query "..." --limit 5 or curl to GitHub API
tracked_execute_command (git clone)GIT_TERMINAL_PROMPT=0 git clone --depth 1 <url> Experiment/code_references/<name>
list_filesls, find, tree
read_filecat, head, tail, sed -n
gen_code_tree_structuretree -L 3
terminal_page_down/up/toN/A (not needed with cat/less)
search_github_coderg, grep -rn across local repos

Checklist

Phase A (Repo Acquisition)

  • Selected idea analyzed; 2-3 missing components identified
  • Cascade search performed (6 queries per gap across 3 levels)
  • Best candidates cloned into Experiment/code_references/
  • Each clone verified (README.md read, domain/language checked)
  • context_variables["acquired_code_repos"] set as dict {name: path}
  • prepare_res updated with new reference_codebases / reference_paths
  • extra_repo_info string built for Phase B
  • Experiment/code_references/logs/repo_acquisition_agent.json written

Phase B (Code Survey)

  • Code survey query built with selected_idea + download_res + extra_repo_info
  • All repos in Experiment/code_references/ surveyed using tree, cat, grep, find
  • Every atomic academic concept in the idea has matching code identified
  • Implementation report includes: code snippets, file paths, function signatures, formula-to-code mappings
  • context_variables["model_survey"] set with full report text
  • Experiment/code_references/logs/code_survey_agent.json written with complete model_survey

References

  • run_infer_idea_ours.py: _acquire_missing_repos (745–792), _update_prepare_res_with_new_repos (639–686), _conduct_code_survey (794–828)
  • Prompts: build_repo_acquisition_query (prompt_templates.py:153–171), build_code_survey_query (prompt_templates.py:173–200)
  • Agents: repo_agent.py (Repo Acquisition Agent definition + tools), survey_agent.py (Code Survey Agent definition)
  • Cache examples: repo_acquisition_agent.json, code_survey_agent.json from reference pipeline output

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Inno Code Survey?

Отримує відсутні репозиторії коду для вибраної ідеї (етап A) і проводить всебічний огляд коду, зіставляючи академічні концепції з реалізаціями (етап B). Виводить acquired_code_repos, updated_prepare_res і model_survey для подальшого використання inno-implementation-plan.

Навіщо використовувати Inno Code Survey у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Inno Code Survey — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Inno Code Survey у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/OpenLAIR/dr-claw/tree/main/skills/inno-code-survey. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Inno Code Survey?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Inno Code Survey?

Зі скількома забажаєте. У TypingMind ви можете використовувати Inno Code Survey із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Inno Code Survey?

На GitHub цю навичку публікує OpenLAIR. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип affaan-m

Deep Research

affaan-m
СпільнотаПопулярне

Проводьте глибокі дослідження за кількома джерелами за допомогою MCP firecrawl і exa. Шукайте в інтернеті, узагальнюйте результати й створюйте звіти з посиланнями на джерела. Для ретельного дослідження будь-якої теми…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

Exa Search

affaan-m
СпільнотаПопулярне

Нейронний пошук через Exa MCP для дослідження вебу, коду та компаній. Для пошуку в інтернеті, прикладів коду, інформації про компанії, пошуку людей або глибоких досліджень за допомогою нейронного пошуку Exa…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип mattpocock

Wayfinder

mattpocock
СпільнотаПопулярне

Розплануйте великий обсяг роботи, що не вміститься в одну сесію агента, як спільну карту задач для ухвалення рішень у вашому трекері задач, а потім послідовно вирішуйте їх, доки шлях до мети не стане зрозумілим.

22.3K
264.4K
Файлів: 1
Відкрити
Логотип NousResearch

Creative Ideation

NousResearch
ОрганізаціяПопулярне

Генерування ідей за допомогою відомих методів творчої практики.

53.5K
250.4K
Файлів: 27
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇