Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Registers specific files or line ranges as curated knowledge, then searches or dumps them for focused agent context.
14% 95%+82 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 3 of 22 without it.
Add `utils.rs` to the 'helpers' collection, starting from line 45 to the very end of the file. Include the label 'string-utils'. What is the exact command?
Uses the URI format ending in `#L45` without specifying an end line
3 of 3 safety checks passed
Register specific files or line ranges as curated knowledge — not the whole codebase, that's what git is for. Then retrieve from them — search with rg or dump content — to build focused agent context.
kr search <reg> "query"rg directlykr registry create <name> -d "Purpose of this KR" # always add a description
kr source add <reg> file:///path/to/file.rs#L1-L50 --label "main" --tags "core"
kr source list <reg>
kr search <reg> "query" -c 2 # rg with context lines
kr dump <reg> # all content to stdout
kr registry update <name> -d "Updated purpose" # update description
kr source update <reg> 0 --label "new" --tags "updated"
kr source remove <reg> 0
kr registry delete <name>
URI formats: file:///path.rs (full file), file:///path.rs#L10-L42 (range), file:///path.rs#L10 (from line 10 to end).
Path resolution: URIs are stored relative to the .kr folder parent. At display time, paths resolve to ~/... if under home, /... otherwise — no brittle absolute paths in the registry file.
Cross-registration: A source can belong to multiple KRs if it's relevant to both domains. Overlap is intentional cross-referencing, not duplication.
Next to this one in the catalogue, plus more from the same author.