siam-thai/sak-family-agent/saksee-process-investigation

Claude Code and agent skill by siam-thai/sak-family-agent

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Investigate and manage system processes for debugging, monitoring, and

Install

npx vskill@latest install siam-thai/sak-family-agent/saksee-process-investigation

SKILL.md

The same SKILL.md was published earlier as siam-thai/sak-family-agent/saksee-process-investigation.

Process Investigation

Investigate and manage system processes for debugging, monitoring, and verification purposes. This skill covers techniques for identifying running processes, understanding their origins, and verifying their status.

When to Use

  • User asks about running services or processes
  • Need to verify if a service is running
  • Investigating system resource usage
  • Debugging process-related issues
  • Verifying which repository or codebase a process is running from

Prerequisites

  • Basic understanding of Unix/Linux process management
  • Familiarity with terminal commands

Quick Reference

CommandAction
`ps auxgrep <process>`Find processes by name
pgrep -f "<pattern>"Find process IDs by pattern
lsof -i :<port>Check which process is using a port
ps -p <pid> -o pid,ppid,cmdGet details about a specific process

Procedure

1. Finding Running Processes

To find processes related to a specific service or application:

bash
# Search for processes by name
ps aux | grep sakthai
# Find process IDs by pattern
pgrep -f "sakthai dashboard"
# Show all processes with specific keywords
ps aux | grep -E "(dashboard|sakthai)"
2. Getting Process Details

Once you have a process ID, get more information:

bash
# Get detailed information about a specific process
ps -p 12345 -o pid,ppid,cmd --no-headers
# Show full command line for a process
ps -p 12345 -o pid,cmd,args
# Show process with parent-child relationships
ps -ef | grep 12345
3. Checking Port Usage

To verify which process is using a specific port:

bash
# Check which process is using a port (Linux)
lsof -i :3001
# Alternative using netstat (if available)
netstat -tulpn | grep :3001
# Check multiple ports
lsof -i :3001,:3002
4. Verifying Repository Origins

To determine which repository or codebase a process is running from:

bash
# Check the working directory of a process
ps -p <pid> -o pid,cmd
# If the command shows a path, navigate to that directory and check git info
cd /path/to/process/directory
git remote -v
ls -la .git
# Check the full process tree
ps -ef | grep <process_name>

Pitfalls

  • Process ID changes: Process IDs can change between system restarts or process restarts
  • Multiple instances: There may be multiple instances of the same process running
  • Permissions: Some process information may not be accessible without appropriate permissions
  • Missing tools: Not all systems have lsof or netstat installed by default
  • Repository confusion: Processes may be running from different repositories than expected; always verify the actual location

Verification

To verify that you've correctly identified a process:

  1. Confirm the process is running with ps aux | grep <process>
  2. Check that it's listening on the expected port with lsof -i :<port>
  3. Verify the repository or codebase location with ps -p <pid> -o cmd and checking the git remote
  4. Confirm functionality by accessing the service if applicable
  5. Check references like references/sakthai-agent-v2-investigation.md for specific examples of repository structure investigations
  6. See references/food-penguin-limited-investigation.md for an example of investigating a complex dashboard repository

See references/process-investigation-examples.md for specific examples and common scenarios.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/siam-thai/sak-family-agent/saksee-process-investigation/badge)](https://verified-skill.com/skills/siam-thai/sak-family-agent/saksee-process-investigation)

Something wrong with this skill or its page? Tell us.