agentsclimarketplace

Kagi account config

Skill Microck/kagi-cli/skills/kagi-account-config

Configure Kagi CLI credentials, profiles, lenses, custom bangs, redirects, site preferences, and account-backed assistants. Use when the user wants to inspect or change how Kagi authenticates, searches, or applies account settings.From its SKILL.md

Install
npx -y skills add Microck/kagi-cli --skill kagi-account-config

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.7 KB, as published. Nobody here has run it

Kagi Account Configuration

Inspect current state before changing it. Never print, echo, or paste stored credential values into output.

Credential model

CredentialMain capabilities
KAGI_SESSION_TOKENsubscriber search, Quick Answer, Assistant, ask-page, translation, subscriber summarization
KAGI_API_KEYcurrent Search API and Extract API
KAGI_API_TOKENlegacy summarize, FastGPT, and Enrichment APIs

Environment variables override .kagi.toml. --profile NAME selects a named profile. Base search prefers session auth when both search credentials are available, unless preferred_auth = "api" is configured.

Inspect and verify auth

kagi auth status
kagi auth check
kagi usage --format pretty

Use status to see credential presence and source. Use check when a configured credential fails at request time.

Use the auth wizard or explicit auth subcommands to set credentials:

kagi auth
kagi auth set --session-token "https://kagi.com/search?token=..."

Never pass secrets on a shared shell command line. Prefer the interactive wizard or protected environment injection in shared environments.

Profiles

Use profiles when separate accounts or credential policies must coexist.

kagi --profile work auth status
kagi --profile personal search "query" --format toon

Verify the selected profile before changing any setting.

Search settings

Inspect before creating, updating, or deleting:

kagi lens list
kagi lens get "Default"
kagi bang custom list
kagi redirect list
kagi site-pref list

Example custom bang:

kagi bang custom create \
  "Docs" \
  --trigger docs \
  --template "https://docs.rs/releases/search?query=%s"

Use each command's --help for the flags a mutation needs. Never delete or overwrite an account setting unless the user asked for it.

Custom assistants

kagi assistant custom list
kagi assistant custom get "Researcher"

Conversation and thread use belongs in kagi-assistant. This skill owns the account-level configuration of custom assistants.

Completion criteria

Configuration work is complete when:

  • you know the active profile and credential source;
  • the requested setting is visible through its read command;
  • no secret value appears in output or persisted scripts;
  • unrelated account settings remain unchanged; and
  • you made a destructive change only when the user asked for it.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.