Save a message to the PA2 SQLite database with conversation tracking. Creates database and schema if needed, assigns unique message ID, and stores message with metadata.
Add documents to a ChromaDB vector collection with embeddings. Reads JSON input with id, content, and metadata fields, uses pa-embed tool to obtain embeddings, and stores the document in the specified ChromaDB collection.
Performs semantic search against a ChromaDB vector collection. Parses query from JSON input, queries the collection using embeddings, and returns matching results with similarity distances.
Analyze and repair corrupted files by detecting and fixing encoding issues, merge conflicts, malformed JSON/XML, mixed line endings, and truncation. Examines input to identify problems and applies appropriate corrections.
Monitor network traffic and CPU usage, analyze system metrics and network patterns to identify suspicious activity, summarize findings, and generate a diagnostic report in markdown format
Build, explain, or convert regular expressions: describe what you want to match in plain English to generate a working regex with breakdown and test cases, explain an existing regex pattern, or convert between regex and natural language descriptions
Generate a bash one-liner command from a plain English description, producing a working command with proper quoting, escaping, and error handling following modern bash best practices
Investigate which process is using a port, identify what started it and what config spawned it, examine what depends on it, and analyze findings to provide a comprehensive report that explains the process, converts the raw data into actionable recommendations for safely stopping it. Uses system commands to gather info then analyzes the data.
Scan running processes using system commands to gather CPU, memory, process tree, and runtime data. Generates a comprehensive report that summarizes system health, categorizes and explains significant processes, identifies resource consumption patterns, and detects anomalies like zombies or runaway processes with recommendations for action.