Skip to content
Back to skills

Deployment Api

ASecurity

"Install, configure, start, deploy, and troubleshoot the Khoj

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
devopspythonrustgosqlfastapidjangodockerapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deployment-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deployment Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deployment Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deployment-api/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deployment-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deployment-api
description: "Install, configure, start, deploy, and troubleshoot the Khoj
  Python server/API surface."
disable-model-invocation: true
metadata:
  disco-role: operating
license: AGPL 3.0
---

# Khoj Deployment and API

Use this sub-skill when a task is about installing Khoj, self-hosting it with pip or Docker, configuring server environment variables, starting the FastAPI/Django service, validating CLI parser behavior, mapping top-level REST API routes, or diagnosing deployment failures.

## Start Here

- For server startup lifecycle, CLI parser behavior, route prefixes, and REST endpoint families, read [server-and-api.md](references/server-and-api.md).
- For pip, Docker, database, domain, auth, admin, model-provider, gunicorn, and optional service configuration, read [configuration.md](references/configuration.md).
- For failures involving `khoj --help`, PostgreSQL, embedded DB, CSRF/host/cookies, model providers, static files, Docker memory, dependency conflicts, or Rust/tokenizers builds, read [troubleshooting.md](references/troubleshooting.md).
- To inspect parser defaults safely without importing `khoj.main` or touching the database, run [inspect_cli.py](scripts/inspect_cli.py).

## Boundaries

This sub-skill owns deployment, startup, configuration, API surface orientation, and deployment troubleshooting. Route document ingestion details to [content-indexing](../content-indexing/SKILL.md), search ranking/filter behavior to [search-retrieval](../search-retrieval/SKILL.md), chat/agent/tool payload internals to [chat-agents](../chat-agents/SKILL.md), automations and memory behavior to [automations-memory](../automations-memory/SKILL.md), and contributor workflows to [development](../development/SKILL.md).

## Safety Notes

- Do not use `khoj --help` as a harmless parser probe on an unconfigured host; the console script resolves `khoj.main:run`, and importing `khoj.main` initializes Django, runs migrations, and collects static files before CLI parsing.
- Prefer `python scripts/inspect_cli.py --args -- --help` or direct `khoj.utils.cli.cli(...)` inspection for parser-only validation.
- Do not start the server, mutate databases, pull containers, or install dependencies unless the user explicitly asks for an operational change.

Files in this skill

  • SKILL.md2.2 KB
  • references/configuration.md11.7 KB
  • references/server-and-api.md8.4 KB
  • references/troubleshooting.md11 KB
  • scripts/inspect_cli.py3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.