AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

pi-agent

Builds with and operates Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers/models/settings/environment variables, creating Pi skills/extensions/packages/themes/prompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation/orchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understanding).

Original source
K-Dense-AI
License
MIT
Pinned revision
5f2bc0341354fd5590aef76a533ada1e1e5b4e62

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read k-dense-ai--pi-agent at revision 5f2bc0341354fd5590aef76a533ada1e1e5b4e62, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 36

references/shell-aliases.md

Shell Aliases

Source: https://pi.dev/docs/latest/shell-aliases

Reviewed against Pi 0.99.2 on 2026-09-30.

Pi normally runs a separate non-interactive bash -c for each built-in Bash or !/!! command. To use aliases, create a Bash-compatible ~/.bash_aliases:

alias ll='ls -la'
alias gs='git status --short'

Then configure ~/.pi/agent/settings.json:

{
  "shellCommandPrefix": "shopt -s expand_aliases\nsource ~/.bash_aliases"
}

Run /reload, then !ll. The prefix runs before every Bash command. Do not parse/evaluate arbitrary alias lines from .zshrc or source a zsh configuration into Bash. Configure shellPath when Bash is unavailable; shopt will fail under a sh fallback. Extensions replacing the shell own their setup.