Skip to content
CAI
Software that uses CAICheck a score

skim-rs/skim

70.1

Adequate · 14 November 2026

23.3k

lines of production code

Rust

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add shell integration scripts and completions for skim

The shell directory now includes the official key bindings and completion scripts for bash, zsh, fish, and nushell. These files provide tab-completion for skim's command-line options and interactive key bindings (such as Ctrl+T for file selection and Ctrl+R for history search) that integrate the \sk\ command into your shell environment.

shell · high confidence

Added fuzzing targets for core parsers and matchers

The project now includes \cargo-fuzz\ targets in the \fuzz/\ directory to automatically test the stability of hand-written parsers and matching algorithms against adversarial input. These new fuzzers exercise the ANSI stripping logic, \--nth\/\--with-nth\ field extraction, fuzzy matching algorithms (Skim, Fzy, Clangd), the full query-to-match pipeline, and the \--bind\ keymap parser. This addition helps prevent panics and index-out-of-bounds errors in these critical, untrusted-input-facing components.

fuzz · high confidence

Introduce Arinae fuzzy matching algorithm

Added the Arinae fuzzy matcher, a new algorithm based on Smith-Waterman local alignment with affine gap penalties and context-sensitive bonuses. This implementation introduces features such as typo tolerance, smart case detection, and specific scoring bonuses for word separators (like \/\ and \\_\) and camelCase transitions. It also includes optimized prefiltering and banding strategies to improve performance on large datasets.

_src/fuzzy\matcher/arinae · high confidence

New fuzzy matching algorithms: Clangd, Frizbee, and Fzy

Users can now choose from three additional fuzzy matching algorithms alongside the existing Skim matcher. The new Clangd matcher replicates the algorithm used by the clangd language server, while the Fzy matcher implements the fzy scoring algorithm with support for typo tolerance. The Frizbee matcher integrates the library used by blink.cmp, featuring thread-local caching for performance and configurable typo tolerance. All new matchers support case-insensitive, case-sensitive, and smart-case matching strategies.

_src/fuzzy\matcher · high confidence

New library usage examples for the Skim Rust crate

The examples directory now includes a comprehensive set of demonstrations for using the Skim library programmatically. These new examples cover basic item selection, configuring options via SkimOptionsBuilder, and handling ANSI-colored output. They also illustrate advanced integration patterns, including running Skim within an async Tokio runtime, implementing custom item types and selectors, binding custom keybindings with synchronous and asynchronous callbacks, and managing fine-grained lifecycle control over the event loop. Additional examples demonstrate specific features such as image previews, fuzzy matching algorithms, custom command collectors, and downcasting selected items.

examples · high confidence

Support for tmux and Zellij popups

Skim can now run inside a floating popup window within tmux or Zellij terminal multiplexers. This adds a new \src/popup\ module that detects the active multiplexer, creates a temporary FIFO for stdin piping, and launches a nested skim instance with configurable positioning (center, top, bottom, left, right) and sizing (percentages or fixed cells). The popup respects the global border style settings and allows environment variables to be passed through to the child process.

src/popup · high confidence

Windows installer support added

Users on Windows can now install the application via a native MSI installer generated by WiX. The installer places the executable in the Program Files directory and includes an optional feature to add the installation path to the system PATH environment variable for easy command-line access.

wix · high confidence

Behavioural changes

Enforce strict linting and formatting in pre-commit hook

A new pre-commit hook has been added to the repository to automatically enforce code quality standards before changes are committed. The hook runs \cargo fmt\ to check formatting and executes \cargo clippy\ with strict warning-as-error settings across multiple feature configurations (default, no-defaults, cli, image, listen, and frizbee). This ensures that all contributions adhere to the project's style guide and pass static analysis checks regardless of which optional features are enabled.

.githooks · high confidence

Introduce Skim (sk) as the new default fuzzy finder

The plugin now uses Skim (sk) instead of fzf for fuzzy file finding and selection. This change updates the default search command to prioritize \fd\, followed by \git ls-tree\, \rg\, \ag\, and \find\, and includes Windows-specific shell escaping and command wrapping to ensure compatibility. Users will experience potentially faster file listing and selection, with the plugin automatically detecting the \sk\ executable or falling back to the system \sk\ command.

plugin · high confidence

New \`sk\` binary entry point with clap-based options and remote support

The \src/bin/main.rs\ file introduces the primary entry point for the \sk\ command-line tool, replacing the previous implementation with a structure built on \clap\ for argument parsing. This change enables several user-facing capabilities: shell completion generation (supporting nushell), man page generation, and a new \--remote\ flag that allows the binary to connect to and send actions to a running \--listen\ instance via local sockets. The entry point also handles logging initialization via \env\_logger\, manages popup window execution on Unix systems, and orchestrates the core fuzzy-finding loop through \sk\_main\, including history management and output formatting.

src/bin · high confidence

New helper module for item processing, reading, and selection

The \src/helper\ module has been introduced to centralize core item handling logic. It adds \DefaultSkimItem\ to manage text, ANSI code stripping, field transformations, and the new \--hide-nth\ option (hiding fields from display while keeping them searchable). \SkimItemReader\ handles input parsing, supporting ANSI colors, null-terminated lines (\--read0\), custom delimiters, and the new \--disable-pattern\ option to mark matching items as unselectable. A new \DefaultSkimSelector\ enables pre-selection of items via the first N items, preset strings, or regex patterns.

src/helper · high confidence

New modular matching engine architecture with AND/OR combinators and normalization

The matching engine in src/engine has been restructured into a modular system with distinct components for different matching strategies. The new architecture introduces AND and OR combinator engines (src/engine/andor.rs) that allow combining multiple matchers, with AND merging matched ranges and summing scores while OR selects the best matching sub-engine. A new NormalizedEngine (src/engine/normalized.rs) enables accent-insensitive matching by normalizing text before comparison. The engine factory system (src/engine/factory.rs) now supports creating exact, fuzzy, regex, and split-match engines through a unified interface. The split-match engine (src/engine/split.rs) allows matching against different parts of items separated by delimiters. These changes provide a more flexible and composable matching system while maintaining backward compatibility with existing query syntax.

src/engine · high confidence

Redesigned TUI with event-driven architecture and granular action bindings

The TUI layer has been rewritten to use an event-driven architecture, introducing a central \App\ struct that manages state and a new \Action\ system for handling user input. This change adds granular, bindable actions (such as \set-query\, \set-cmd\, \bind\, and \unbind\) that allow users to customize keybindings and dynamically change the interactive command. The new architecture also supports custom action callbacks (both synchronous and asynchronous) for library users, improves input handling with proper byte-length cursor movement, and introduces a more robust layout system that correctly handles multiline headers and dynamic resizing.

src/tui · high confidence

sk-tmux script deprecated in favor of sk --tmux

The sk-tmux helper script now emits a deprecation warning and directs users to use the native \sk --tmux\ flag instead. While the script remains available for backward compatibility, it is scheduled for removal in a future release.

bin · high confidence

Test coverage

Added test infrastructure configuration for nextest, Valgrind, and ThreadSanitizer; Expanded test coverage for ANSI, bindings, and matching behavior; New benchmark suite for matcher performance and CLI ingestion; New cross-platform test harnesses for unit and end-to-end testing; New field extraction, keybinding, and ranking tests; Snapshot tests for ANSI, bindings, and hide-nth features.

Dependencies

Initial dependency lockfiles and manifest configuration

The project now includes Cargo.lock files for the main workspace and the fuzzing sub-crate, alongside the Cargo.toml manifests. This establishes the pinned dependency graph for the 'skim' fuzzy finder (version 5.7.2), ensuring reproducible builds by locking versions for key libraries such as ratatui (0.30.0), clap (4.6.1), and frizbee (0.13.0).

(dependencies) · high confidence

Housekeeping

Project rebrand to Skim with comprehensive documentation and developer tooling; Updated man pages for sk and sk-tmux.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 72 → 70 (-1.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 84 → 82 (-2.0)
  • Architecture 88 → 100 (+12.2)
  • Maturity 68 → 68 (-0.0)
  • Readiness 70 → 70 (+0.4)
  • Security 75 → 66 (-9.2)
  • Performance 94 → 94 (+0.0)

Resolved (50)

  • Duplicated block (12 lines × 4) (src/theme.rs)
  • Duplicated block (21–26 lines × 2) (src/fuzzy_matcher/arinae/mod.rs)
  • Duplicated block (34–46 lines × 2) (src/fuzzy_matcher/arinae/algo.rs)
  • Duplicated block (6 lines × 2) (src/fuzzy_matcher/arinae/algo.rs)
  • Duplicated block (7 lines × 2) (src/tui/app.rs)
  • Duplicated block (7 lines × 2) (src/tui/app.rs)
  • Duplicated block (8 lines × 2) (src/fuzzy_matcher/arinae/mod.rs)
  • Flaky test: skim::binds.bind_act_prefix
  • Flaky test: skim::binds.bind_change
  • Flaky test: skim::binds.bind_result
  • Flaky test: skim::binds.bind_set_query_expand
  • Flaky test: skim::case.case_ignore_different
  • Flaky test: skim::case.case_non_ascii
  • Flaky test: skim::case.case_smart_lower
  • Flaky test: skim::case.case_smart_no_match
  • Flaky test: skim::keys.keys_ctrl_arrows
  • Flaky test: skim::keys.keys_ctrl_c
  • Flaky test: skim::layout.layout_default
  • Flaky test: skim::layout.layout_reverse_border
  • Flaky test: skim::matcher.matcher_skim_v2
  • …and 30 more

New (101)

  • App::child_env (cognitive 16) (src/tui/app.rs)
  • ClassTooLong: ItemList (src/tui/item_list.rs)
  • Duplicated block (10 lines × 2) (src/output.rs)
  • Duplicated block (21–26 lines × 2) (src/fuzzy_matcher/arinae/mod.rs)
  • Duplicated block (34–46 lines × 2) (src/fuzzy_matcher/arinae/algo.rs)
  • Duplicated block (6 lines × 2) (src/tui/app.rs)
  • Duplicated block (6 lines × 2) (src/tui/app.rs)
  • Duplicated block (8 lines × 2) (src/fuzzy_matcher/arinae/mod.rs)
  • Duplicated block (9 lines × 2) (src/thread_pool.rs)
  • Edited copies of one member (3 members, 11+ corresponding lines) (src/field.rs)
  • Edited copy of a member (11 corresponding lines) (src/item.rs)
  • Edited copy of a member (11 corresponding lines) (src/popup/zellij.rs)
  • Edited copy of a member (16 corresponding lines) (src/engine/util.rs)
  • Edited copy of a member (19 corresponding lines) (src/fuzzy_matcher/arinae/banding.rs)
  • Edited copy of a member (23 corresponding lines) (src/tui/input.rs)
  • Edited copy of a member (24 corresponding lines) (src/tui/input.rs)
  • Edited copy of a member (25 corresponding lines) (src/reader.rs)
  • Edited copy of a member (28 corresponding lines) (src/engine/exact.rs)
  • Edited copy of a member (65 corresponding lines) (src/tui/app.rs)
  • Flaky test: skim::ansi.test_ansi_flag_enabled
  • …and 81 more

Changes since last survey

  • 9 commits — 6 feature/other, 3 fixes

By area

  • (root) — 5 commits
  • src/tui — 3 commits
  • .github/workflows — 1 commit

Notable commits

  • fix: fix!: restore no-op flags margin, no-clear and no-clear-start (#1220)
  • fix: fix: multiline+wrapping breaks highlight-line and tabstop
  • fix: fix: properly clear the inline frame even if a resize is not necessary (#1212)
  • change: chore(deps)!: ESC]2J scrolls the screen into the scrollback in the pty preview instead of clearing after bumping avt and 2 others (#1214)
  • change: chore(deps): bump avt from 0.19.0 to 0.20.0 in the cargo-prod group (#1218)
  • change: chore(deps): bump the cargo-prod group with 2 updates (#1211)
  • change: chore(deps): bump the gha-prod group with 3 updates (#1213)
  • change: feat: export information as env vars to children commands (preview and interactive) (#1200)
  • change: release: v5.9.0 (#1209)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

skim-rs/skim was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 0bb6bba5a5decf0b2468a12b1e04b794ab8fc492 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.