Skip to content
hokan

Completion sources

Understand the context Hokan combines and how suggestions are ranked.

Hokan merges independent providers into one ranked list. A suggestion can come from the current shell, the project around it, or an explicit AI action.

SourceExamples
Shell historyzsh, bash, and fish history with fuzzy search and failure penalties
Command specsBuilt-in recipes, flags, subcommands, argument slots, and risk levels
Help pagesRead-only extraction from man pages for commands without a built-in spec
FilesystemFiles, directories, executable scripts, quoting, spaces, and Unicode paths
Project metadatanpm, pnpm, yarn, bun, Deno, Cargo, Make, just, and workspace members
Git stateContextual init, clone, status, add, commit, push, and pull
Shell definitionsAliases, functions, abbreviations, and inferred argument slots
System stateRunning processes, PIDs, and network interfaces
AI actionAn explicit OpenAI-compatible request selected by you

Suggestions are inserted into the command line for review. The ranking layer can prefer a recent successful command, a project script, or an argument that fits the current slot without taking execution away from you.