Skip to content
yoanbernabeu avatar

Grepai Search Boosting

Config-driven score boosting for GrepAI that penalizes tests, vendor, and generated code while favoring core source paths.

CCM score
60 of 100
skills.sh installs
803
GitHub stars
20
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers score adjustment by file path, with penalty factors below 1.0 and bonus factors above 1.0 applied to search scores
  • Includes ready-made profiles for standard, frontend, Go, Python, and monorepo projects, plus a full penalty list for tests, docs, vendor, and generated files
  • Enforces that penalties reduce rank without hiding results, while the enabled: false setting turns boosting off entirely
  • Designed for teams that want production code ranked above tests and vendored dependencies in .grepai/config.yaml

Install

$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-search-boosting -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GrepAI Search Boosting

This skill covers configuring score boosting to prioritize relevant code paths and deprioritize tests, docs, and vendor code.

When to Use This Skill

  • Prioritizing source code over tests
  • Penalizing vendor/third-party code
  • Boosting important directories
  • Customizing result ranking

What is Boosting?

Boosting modifies search scores based on file paths:

Original score: 0.85 (src/auth.go)
Bonus (+10%):   0.935

Original score: 0.85 (tests/auth_test.go)
Penalty (-50%): 0.425

This ensures production code ranks higher than tests with similar content.

Configuration

Basic Configuration

# .grepai/config.yaml
search:
  boost:
    enabled: true
    penalties:
      - pattern: /tests/
        factor: 0.5
    bonuses:
      - pattern: /src/
        factor: 1.1

Full Configuration

search:
  boost:
    enabled: true

    # Reduce scores (factor < 1.0)
    penalties:
      # Test files
      - pattern: /tests/
        factor: 0.5
      - pattern: /__tests__/
        factor: 0.5
      - pattern: _test.
        factor: 0.5
      - pattern: .spec.
        factor: 0.5
      - pattern: .test.
        factor: 0.5

Details

Repository
github.com/yoanbernabeu/grepai-skills
Category
Memory & Context
First seen
Jun 3, 2026

More from yoanbernabeu/grepai-skills

All 27

Similar to Grepai Search Boosting

More Memory & Context