Passport Setup
Skill2 starsChanged 4 months agoMITView on GitHub
Install and verify the kpass CLI on this computer before running any other Passport skill. Invoke automatically when kpass is missing or when a Passport skill fails with a command-not-found error.
In this repository16 other files it gives its agents.
- activitySkill
- attach-sessionSkill
- authenticate-userSkill
- defi-auto-repaySkill
- defi-swapSkill
- form-session-delegationSkill
- kite-discoverySkill
- kite-passportSkill
- manage-agentsSkill
- passport-overviewSkill
- report-feedbackSkill
- request-sessionSkill
- shoppingSkill
- upgrade-passportSkill
- wallet-sendSkill
- x402-executeSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Before installing, check if kpass is already present:
- Distinctive: line 29
If this returns a path, kpass is installed.
- Distinctive: line 33
If kpass is missing, install it with the official installer.
- Distinctive: line 41
After receiving user approval, run the installer:
- Very specific: line 47
If scripts/setup.sh is not available (single-folder skill install), obtain approval for this fallback command, then run it:
- Distinctive: line 83
After the installer completes, reload your shell environment:
- Distinctive: line 92
After installation, verify kpass works:
- Very specific: line 100
If kpass --version fails, the installation did not succeed.
- Very specific: line 107
Check kpass --help for available commands
- Very specific: line 114
No authentication is required to install kpass.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Passport Setup
Purpose
Install the kpass CLI on this computer so other Passport skills can run. Grok Bot installs skills but not external dependencies; this skill bridges the gap by installing the CLI itself.
When to Use
Invoke this skill automatically when:
command -v kpassreturns nothing (kpass is not installed)- Any other Passport skill fails with "command not found: kpass"
- The user asks to "install kpass", "set up Passport", or "prepare my environment for Kite"
Installation
Check First
Before installing, check if kpass is already present:
command -v kpassIf this returns a path, kpass is installed. Skip to verification.
Install on This Computer
If kpass is missing, install it with the official installer.
Security Note: This installer executes a remote script. For Grok Bot and similar autonomous agents running in isolated environments, this step may run automatically per the bot's security model. For interactive agent environments (Claude Code, Cursor, Cline), you must obtain explicit user approval before running this command. Show the user this exact command and wait for their confirmation:
bash <skill-directory>/../scripts/setup.shAfter receiving user approval, run the installer:
bash <skill-directory>/../scripts/setup.shIf scripts/setup.sh is not available (single-folder skill install), obtain approval for this fallback command, then run it:
get_installer_base() {
local base=""
if [[ -n "${KPASS_BASE_URL:-}" ]]; then
base="$KPASS_BASE_URL"
else
local base_file="<skill-directory>/../.installer-base"
if [[ -f "$base_file" ]]; then
base="$(tr -d '[:space:]' < "$base_file" 2>/dev/null)"
fi
fi
if [[ -z "$base" ]]; then
base="https://cli.gokite.ai"
fi
[[ $base =~ ^https://cli(\.staging)?\.gokite\.ai$ ]] || { echo "bad installer base: $base" >&2; return 1; }
printf '%s' "$base"
}
INSTALLER_BASE="$(get_installer_base)" || exit 1
INSTALL_SCRIPT="$(mktemp)"
trap 'rm -f "$INSTALL_SCRIPT"' EXIT
if curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 0 "$INSTALLER_BASE/install.sh" -o "$INSTALL_SCRIPT" && \
[[ -s "$INSTALL_SCRIPT" ]] && \
[[ "$(head -1 "$INSTALL_SCRIPT")" == '#!'* ]]; then
bash "$INSTALL_SCRIPT"
else
echo "Installer download failed or is not a shell script" >&2; exit 1
fiThis installer:
- Downloads the latest kpass CLI binary for your platform
- Installs it to
~/.kpass/bin(or$KPASS_INSTALL_DIR/bin), with~/.local/binas a fallback - Updates your shell's PATH if needed
After the installer completes, reload your shell environment:
export PATH="${KPASS_INSTALL_DIR:-$HOME/.kpass}/bin:$HOME/.local/bin:$PATH"
hash -rVerification
After installation, verify kpass works:
kpass --versionExpected output: a version at or above min_kpass_version in skills.json (currently 6.8.9 or later).
If kpass --version fails, the installation did not succeed. Report the error to the user and stop. Do not proceed to other Passport skills until verification passes.
Next Steps
Once kpass is installed and verified:
- Other Passport skills can now run
- The user may need to authenticate with
authenticate-userbefore using paid features - Check
kpass --helpfor available commands
Notes
- This skill runs on the bot's own computer, not the user's machine
- The installer is idempotent — safe to run multiple times
- For production use only; the installer URL serves the live kpass release
- No authentication is required to install kpass; authentication happens separately via
authenticate-user
Dependencies
None. This is the bootstrap skill that makes other Passport skills possible.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

