Agent skill

1c Code Search

by comol in comol/ai_rules_1c

Find BSL code in a 1C project — routines by name, code by behaviour or exact literal, module layout, members of a context — through the graph and code-metadata MCP servers before any Grep.

No licenceAuto-check passedAgent Workflows

Install 1c Code Search

skills CLI
$ npx skills add comol/ai_rules_1c --skill 1c-code-search -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install comol/ai_rules_1c 1c-code-search --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/comol/ai_rules_1c.git skills-src && mkdir -p .claude/skills && cp -r skills-src/content/skills/1c-code-search .claude/skills/1c-code-search && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
1c-code-search
GitHub stars
480
Token cost
~1k tokens
SKILL.md length
344 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
None found

At a glance

Find BSL code in a 1C project — routines by name, code by behaviour or exact literal, module layout, members of a context — through the graph and code-metadata MCP servers before any Grep.

  • Works in 4 steps: Reformulate once when useful, using only… → Current Code search tools have no grep… → A typed server answer maps to an action… → …
  • A task needs to locate
  • SKILL.md covers Tools and exact arguments, Calls and Miss handling
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

1c Code Search is an agent skill from comol/ai_rules_1c. Find BSL code in a 1C project — routines by name, code by behaviour or exact literal, module layout, members of a context — through the graph and code-metadata MCP servers before any Grep. Use whenever a task needs to locate or read a fragment of BSL it does not yet have a path for.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Codebase onboarding and MCP servers. It works with Model Context Protocol. The repository describes itself as: Rules\skills\subagens for vibecoding in 1C(bsl).

When your agent uses it

  • A task needs to locate
  • Read a fragment of BSL it does not yet have a path for

Example prompts

  • “/1c-code-search”

Requirements

  • Pre-approved tools (allowed-tools): mcp__1c-graph-metadata-mcp__search_code, mcp__1c-code-metadata-mcp__codesearch, mcp__1c-code-metadata-mcp__search_function, mcp__1c-code-metadata-mcp__get_module_structure, mcp__1c-code-metadata-mcp__bsl_scope_members, mcp__1c-code-metadata-mcp__compact_symbol

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Reformulate once when useful, using only that tool's modes and parameters (search_type, detail_level, top_k / limit, filter_type…
  2. Current Code search tools have no grep input. Read search_layer: "grep" as the server's internal file-scan fallback, not a request to…
  3. A typed server answer maps to an action by code — content/rules/mcp-policy.md → C. Server answers → actions; never probe the same gap…
  4. Then native Grep / Read, with the note. Reading a file already located here is normal work.

What it can do on your machine

Read from SKILL.md and the folder at commit 709ecac. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • mcp__1c-graph-metadata-mcp__search_code
    • mcp__1c-code-metadata-mcp__codesearch
    • mcp__1c-code-metadata-mcp__search_function
    • mcp__1c-code-metadata-mcp__get_module_structure
    • mcp__1c-code-metadata-mcp__bsl_scope_members
    • mcp__1c-code-metadata-mcp__compact_symbol

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

1c Code Search loads about 1k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 344 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 344 words (~1,035 tokens).

“Project-source search is MCP-first within verified contour coverage: graph → mapped code-metadata → scoped native Grep after a bounded miss with a one-line fallback note. Skip uncovered lanes; never substitute a neighboring contour's index. content/rules/multi-contour-search.md selects scope and server mappings…”

— opening of SKILL.md by comol
name
1c-code-search
allowed-tools
mcp__1c-graph-metadata-mcp__search_code, mcp__1c-code-metadata-mcp__codesearch, mcp__1c-code-metadata-mcp__search_function, mcp__1c-code-metadata-mcp__get_module_structure, mcp__1c-code-metadata-mcp__bsl_scope_members, mcp__1c-code-metadata-mcp__compact_symbol
argument-hint
<what to find> [exact | semantic]

Read the full SKILL.md on GitHub

Files

Just SKILL.md in content/skills/1c-code-search of comol/ai_rules_1c.

Open the folder on GitHubat commit 709ecac

Compare with similar skills

1c Code Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

1c Code Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
1c Code Search this skillcomol/ai_rules_1c480—~1kAutomated safety check: PassNone
Codebase SearchHelweg/open-codebase-index216—~1.3kAutomated safety check: PassMIT
Codebase Search WorkflowHelweg/open-codebase-index216—~822Automated safety check: PassMIT
Basemind Index ScanGoldziher/basemind106—~997Automated safety check: WarnMIT
GitHub MCPvibeeval/vibecosystem531—~2.3kAutomated safety check: NotesMIT
CodegraphcontextCodeGraphContext/CodeGraphContext4.2k—~675Automated safety check: NotesMIT

Similar skills

  • Codebase Search

    Helweg/open-codebase-index

    Chooses the right retrieval tool for code questions: compact context for unfamiliar repos, direct lookup for known symbols, call graphs for relationships and grep for exhaustive matches.

    216 GitHub stars~1.3k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Codebase Search Workflow

    Helweg/open-codebase-index

    Directs an agent to use a local codebase index for repository orientation, definition lookups, call graphs and semantic search before turning to web lookups.

    216 GitHub stars~822 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Basemind Index Scan

    Goldziher/basemind

    Builds or refreshes the basemind code index from the command line, for when basemind reports no index or its MCP server is not running.

    106 GitHub stars~997 tokensUpdated yesterday
    Agent WorkflowsAuto-check: warnings
  • GitHub MCP

    vibeeval/vibecosystem

    GitHub MCP Server ile GitHub API erisimi. An agent skill from vibeeval/vibecosystem.

    531 GitHub stars~2.3k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check: notes
  • Codegraphcontext

    CodeGraphContext/CodeGraphContext

    Use CodeGraphContext (CGC) to index a repo into a graph DB and query it via CLI or MCP.

    4.2k GitHub stars~675 tokensUpdated 8 days ago
    Agent WorkflowsAuto-check: notes
  • trace-mcp Code Navigation

    nikolai-vysotskyi/trace-mcp

    Routes code exploration through trace-mcp's indexed dependency graph, using symbol search, outlines, call graphs and change-impact tools instead of Read, Grep and Glob.

    185 GitHub stars~1.6k tokensUpdated yesterday
    DevelopmentAuto-check: notes

More from comol/ai_rules_1c

All 26 skills in this repo
  • Img Grid Analysis

    comol/ai_rules_1c

    Overlay a numbered grid on an image to determine column proportions for layout generation.

    480 GitHub stars~619 tokensUpdated yesterday
    Auto-check passed
  • Md To DOCX

    comol/ai_rules_1c

    Convert a Markdown file to DOCX (Word). An agent skill from comol/ai_rules_1c.

    480 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Transcribe

    comol/ai_rules_1c

    Transcribe video and audio files via Gemini API. An agent skill from comol/ai_rules_1c.

    480 GitHub stars~960 tokensUpdated yesterday
    Auto-check: notes
  • 1c Repository Manage

    comol/ai_rules_1c

    1C configuration repository (хранилище) — status, history, diff, lock, update, commit, unlock, dump; lock before edit, commit after verify.

    480 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • 1c Templates Memory

    comol/ai_rules_1c

    Search reusable 1C code templates with the task text and adapt a fitting result.

    480 GitHub stars~575 tokensUpdated yesterday
    Auto-check passed
  • Powershell Windows

    comol/ai_rules_1c

    PowerShell scripting rules for Windows environment. An agent skill from comol/ai_rules_1c.

    480 GitHub stars~826 tokensUpdated yesterday
    Auto-check passed

Questions about 1c Code Search

What does 1c Code Search do?

Find BSL code in a 1C project — routines by name, code by behaviour or exact literal, module layout, members of a context — through the graph and code-metadata MCP servers before any Grep. 1c Code Search is an agent skill from comol/ai_rules_1c. Find BSL code in a 1C project — routines by name, code by behaviour or exact literal, module layout, members of a context — through the graph and code-metadata MCP servers before any Grep.

When should I use 1c Code Search?

1c Code Search fits situations like: A task needs to locate; read a fragment of BSL it does not yet have a path for.

How do I install 1c Code Search in Claude Code?

Run `npx skills add comol/ai_rules_1c --skill 1c-code-search -a claude-code`. Or copy the skill folder (content/skills/1c-code-search in comol/ai_rules_1c) into .claude/skills/1c-code-search in your project. Claude Code loads it when a task matches its description.

How do I install 1c Code Search in Codex?

Run `npx skills add comol/ai_rules_1c --skill 1c-code-search -a codex`. Or copy the skill folder (content/skills/1c-code-search in comol/ai_rules_1c) into .agents/skills/1c-code-search in your project. Codex loads it when a task matches its description.

Can I use 1c Code Search in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add comol/ai_rules_1c --skill 1c-code-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/1c-code-search, .gemini/skills/1c-code-search, .github/skills/1c-code-search and .opencode/skills/1c-code-search in your project.

What does 1c Code Search need to run?

SKILL.md names no scripts, command-line tools or credentials: 1c Code Search is instructions for the agent only. Its frontmatter pre-approves these tools: mcp__1c-graph-metadata-mcp__search_code, mcp__1c-code-metadata-mcp__codesearch, mcp__1c-code-metadata-mcp__search_function, mcp__1c-code-metadata-mcp__get_module_structure, mcp__1c-code-metadata-mcp__bsl_scope_members, mcp__1c-code-metadata-mcp__compact_symbol.

Does 1c Code Search access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 1c Code Search safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 1c Code Search use?

No licence was found for 1c Code Search or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does 1c Code Search use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to 1c Code Search?

Skills that share tags, products or a category with 1c Code Search: Codebase Search (Helweg/open-codebase-index, 216 stars), Codebase Search Workflow (Helweg/open-codebase-index, 216 stars), Basemind Index Scan (Goldziher/basemind, 106 stars) and GitHub MCP (vibeeval/vibecosystem, 531 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 1c Code Search?

comol (a GitHub user) maintains it in comol/ai_rules_1c, which has 480 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 6, 2026.

Source: comol/ai_rules_1c on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.