Introspect logo

Introspect

Organization
khoj-ai
introspect

Always read this skill before answering questions about your capabilities, UI, settings, state including past chats/routines/skills/tools. Use to help user configure you, onboard, navigate UI and troubleshoot issues.

Overview

Publisherkhoj-ai
Repositorypipali
Skill nameintrospect
Stars
318
Forks
61
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by khoj-ai on GitHub. Read the source before you install it.

Installation

Install the Introspect AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/khoj-ai/pipali/tree/main/src/server/skills/builtin/introspect
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/khoj-ai/pipali.git /tmp/pipali
mkdir -p .claude/skills
cp -r /tmp/pipali/src/server/skills/builtin/introspect .claude/skills/introspect
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Introspect in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Introspect on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Introspect is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Introspect

Get grounded answers about your capabilities and configuration - reference your actual UI, API and code. Explain using language suitable to the user's capabilities (e.g limit technical jargon when interacting with non-technical users).

Architecture Overview

You run as a desktop app. Pipali code is open-source at https://github.com/khoj-ai/pipali. Stack: Tauri desktop shell (Rust) + Bun server (as tauri sidecar) + React frontend

Query Live State

Query your own API to answer questions about your current setup and manage state. Use shell_command with your bundled bun or uv runtimes or equivalent tools. Use execution_mode: "direct" if you hit sandbox restrictions.

See references/api.md for API endpoints to manage mcp servers, automations/routines, skills, chats, user preferences, sandbox settings etc.

Common Introspection Patterns

The bun server is usually at: http://localhost:6464. If not, find your bun server url first.

  • What previous conversations have I had about surfing?: GET /api/conversations?q=surfing
  • What happened in a specific conversation?: Start with inspect_task using latest or outline. Use GET /api/chat/<conversation_id>/history when you need exact or older details. Its raw response can be large, so query it efficiently.
  • What tools are connected?: GET /api/mcp/servers
  • What automations are set up?: GET /api/automations
  • What models are available?: GET /api/models
  • What shell sandbox restrictions apply?: GET /api/user/sandbox

Key Paths

PurposePath
User profile~/.pipali/USER.md
Skills directory~/.pipali/skills/
App data (macOS)~/Library/Application Support/pipali/
App data (Linux)~/.local/share/pipali/
App data (Windows)%APPDATA%/pipali/
Database<app-data>/db/ (PGlite, an embedded wasm postgres)
Logs (macOS)~/Library/Logs/pipali/

UI Navigation

The app has a navigation sidebar on the left and a main content area.

Sidebar

  • Skills — view, manage installed skills to give you specialized knowledge and workflows
  • Routines — view, manage scheduled/triggered tasks for you to work on (~cron)
  • Tools — view, manage MCP server integrations to give you tools for work
  • Settings — user profile, sandbox permissions tabs
  • Conversation list — recent chats. Button below to open modal to view and search all chats
  • User menu (bottom) — account, theme toggle, logout

Home Page

  • New tasks/chats are started from the home page
  • Navigate by clicking the pipali name+icon on top pane of main content area
  • A live overview of all tasks being worked on, awaiting user confirmation, completed (but not yet viewed by user) or pinned by user is visible as task cards with progress indicators
  • Tasks you start with delegate_task appear as cards too, and their results come back to you as system messages

Chat

  • Main body has chat history as rows of user message, trajectory dropdown, your message
  • Message input is at the bottom with file attachment, llm model switcher
  • Each tool step streams in real-time via WebSocket as you work
  • Trajectory dropdown can be toggled between collapsed, outline and expanded views to vary thoughts, tool call, tool result details
  • User confirmations are automatically triggered for unsafe operations. They appear inline when conversation open and as toasts when on other pages

Settings Page

  • Profile tab: User name, location, language, and custom instructions stored in ~/.pipali/USER.md
    • The app UI supports localization to Chinese, Japanese, German or French. It is localized to the user's language (via Language dropdown) when supported. Refer to UI elements by their localized names when helping user navigate.
  • Permissions tab: Enable or disable memories and voice mode, and configure which files/dirs require user confirmation to read/write from your sandboxed shell and other tools

Routines Page

  • Create automations with cron schedules (e.g., "every Monday at 9am")
  • Each automation has a single conversation with its execution history
  • Can be activated/deactivated, run manually, or deleted
  • Routines is the user facing name of the automations feature in code
  • Routines allow user to assign scheduled tasks for you to work on or reusable prompts that they can trigger manually

Tools Page

  • Add MCP servers (stdio or HTTP transport).
  • Each server is shown as a card with name, description, connection status, chosen confirmation mode.
  • On opening server card user can edit server description, connection command (the command is called with bunx/uvx/no prefix auto inferred based on syntax), transport type (stdio, http/http), confirmation mode (i.e if to request user confirmation (always, unsafe only, never) when you call the server tools), which tools from the mcp server to enable, test connection button

Skills Page

View, create, update, delete skills

Source Code

For deep implementation questions, read the code in the Pipali GitHub repo. Raw file URLs pattern: https://raw.githubusercontent.com/khoj-ai/pipali/main/<path>

Key source files:

  • Server entry: src/server/index.ts
  • API routes: src/server/routes/api.ts
  • Agent loop: src/server/processor/director/index.ts
  • System prompt: src/server/processor/director/prompts.ts
  • DB schema: src/server/db/schema.ts
  • Frontend app: src/client/app.tsx
  • Sidebar: src/client/components/layout/Sidebar.tsx
  • Settings: src/client/components/settings/SettingsPage.tsx

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Introspect AI skill do?

Always read this skill before answering questions about your capabilities, UI, settings, state including past chats/routines/skills/tools. Use to help user configure you, onboard, navigate UI and troubleshoot issues.

Why use Introspect on TypingMind?

Because you install it once and use it with any model. Introspect is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Introspect in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/khoj-ai/pipali/tree/main/src/server/skills/builtin/introspect. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Introspect?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Introspect?

As many as you like. As long as a model supports skills, you can use Introspect with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Introspect AI skill free?

Yes. It is published on GitHub by khoj-ai under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇