Skip to content

Latest commit

 

History

History
720 lines (523 loc) · 14.4 KB

File metadata and controls

720 lines (523 loc) · 14.4 KB

Troubleshooting Guide

This guide helps you diagnose and fix common issues with Skill-Seeker.

Table of Contents

Installation Issues

Problem: "Command not found" when running skill-seeker commands

Symptoms:

$ /skill-seeker:seek frontend
-bash: /skill-seeker:seek: No such file or directory

Diagnosis:

# Check if plugin is installed (inside Claude Code)
/plugin
# Go to the "Installed" tab and look for skill-seeker

Solutions:

  1. Install via the plugin marketplace:
# Inside Claude Code:
/plugin marketplace add mmmantasrrr/skill-seeker
/plugin install skill-seeker@skill-seeker
  1. Restart Claude Code: After installing, restart Claude Code completely.

  2. Test locally:

git clone https://github.com/mmmantasrrr/skill-seeker.git
claude --plugin-dir ./skill-seeker
  1. Verify file permissions:
chmod +x scripts/*.sh
chmod +x scripts/*.py

Problem: "Missing dependencies" error

Symptoms:

Error: curl not found
Error: jq not found
Error: python3 not found

Diagnosis:

# Check which dependencies are missing
which curl    # Should output: /usr/bin/curl
which jq      # Should output: /usr/bin/jq
which python3 # Should output: /usr/bin/python3

Solutions:

On macOS:

# Install using Homebrew
brew install curl jq python3

On Ubuntu/Debian:

sudo apt-get update
sudo apt-get install curl jq python3

On CentOS/RHEL:

sudo yum install curl jq python3

On Windows (WSL):

sudo apt-get install curl jq python3

Search Problems

Problem: "No skills found" for common queries

Symptoms:

$ /skill-seeker:seek react
No skills found matching "react"

Diagnosis:

# Test registry search directly
./scripts/search-registry.sh react

# Test GitHub API connectivity
curl -s https://api.github.com/rate_limit

Solutions:

  1. Check internet connection:
ping -c 3 github.com
  1. Try broader search terms:
# Instead of very specific:
/skill-seeker:seek react-hooks-typescript-patterns

# Try broader:
/skill-seeker:seek react patterns
  1. Search registry directly (no internet needed):
cd /path/to/skill-seeker
./scripts/search-registry.sh react
  1. Check for typos: Common misspellings:
  • "frontned" → "frontend"
  • "javascipt" → "javascript"
  • "kuberntes" → "kubernetes"

Problem: Search returns irrelevant results

Symptoms: Results don't match what you're looking for.

Solutions:

  1. Use more specific terms:
# Too broad:
/skill-seeker:seek code

# Better:
/skill-seeker:seek python code quality

# Best:
/skill-seeker:seek python pep8 style guide
  1. Check synonyms in registry: The registry expands queries. View synonyms:
cat registry.json | jq '.query_synonyms'
  1. Use exact repository if known:
/skill-seeker:browse pbakaus/impeccable

Problem: Search is very slow

Symptoms: Search takes 30+ seconds or times out.

Diagnosis:

# Check internet speed
curl -o /dev/null https://speed.cloudflare.com/__down?bytes=1000000

# Check GitHub API status
curl -s https://www.githubstatus.com/api/v2/status.json | jq

Solutions:

  1. Use registry search (instant):
# Registry is cached locally, no API calls
/skill-seeker:seek [query]
# First results are always from registry
  1. Check network issues:
# Test API latency
time curl -s https://api.github.com/ > /dev/null
  1. GitHub API might be slow: Check https://www.githubstatus.com/ for service issues.

  2. Reduce concurrent searches: Wait for one search to complete before starting another.


Installation Failures

Problem: "Failed to fetch skill" error

Symptoms:

Error: Failed to fetch skill from https://raw.githubusercontent.com/...

Diagnosis:

# Test URL directly
curl -I https://raw.githubusercontent.com/owner/repo/main/path/to/SKILL.md

# Check if repo exists
curl -s https://api.github.com/repos/owner/repo

Solutions:

  1. Verify URL is correct:
  • Check repository name spelling
  • Verify branch name (main vs master)
  • Confirm file path is correct
  1. Check if repo is private:
# Set GitHub token for private repos
export GITHUB_TOKEN=ghp_your_token_here
  1. Verify file exists: Visit the URL in your browser:
https://github.com/owner/repo/blob/main/path/to/SKILL.md
  1. Repository might be deleted or renamed: Search for the skill again to find updated location.

Problem: "Security scan blocked installation"

Symptoms:

Security scan detected HIGH risk issues.
Installation blocked for your safety.

Diagnosis: Review the security scan output shown in the error message.

Solutions:

  1. Review what was detected: Security scanner found potentially malicious patterns. Check:
  • Instruction overrides?
  • Shell command injection?
  • Data exfiltration attempts?
  1. If it's a false positive:
  • Review the skill content manually
  • Understand why it was flagged
  • If safe, you can override (use with caution)
  1. Report the issue: If you believe it's a false positive, open an issue with:
  • Skill URL
  • Security scan output
  • Why you think it's safe
  1. Find alternative skills:
/skill-seeker:seek [same topic]
# Look for skills with higher trust scores

Problem: Skill installs but doesn't work

Symptoms: Skill loads successfully but Claude doesn't apply it.

Diagnosis:

# Verify skill is loaded
/skill-seeker:unload
# Check the list of loaded skills

Solutions:

  1. Be explicit in your request:
# Instead of:
"Review this code"

# Try:
"Apply the [skill name] framework to review this code"
  1. Check for skill conflicts: Multiple skills might conflict. Unload others:
/skill-seeker:unload
# Remove conflicting skills, keep only the one you need
  1. Reload the skill:
/skill-seeker:unload
/skill-seeker:install [same-skill-path]
  1. Verify skill content: Visit the skill file on GitHub to ensure it has actual content.

Security Scanner Issues

Problem: "Security scanner crashed"

Symptoms:

Error: Python script failed
Traceback...

Diagnosis:

# Test scanner directly
python3 scripts/scan-skill.py --help

# Check Python version
python3 --version  # Should be 3.6+

Solutions:

  1. Verify Python installation:
python3 --version
# Should output: Python 3.x.x
  1. Test scanner manually:
echo "# Test skill" > /tmp/test-skill.md
python3 scripts/scan-skill.py /tmp/test-skill.md
  1. Check skill file encoding: Some files with unusual encoding can crash the scanner:
file path/to/SKILL.md
# Should show: UTF-8 Unicode text
  1. Update Python: If using Python < 3.6, update to a newer version.

Problem: "Too many false positives"

Symptoms: Safe skills are flagged as HIGH risk.

Solutions:

  1. Review specific detections: The scanner shows what was detected. Common false positives:
  • Legitimate HTML examples in documentation
  • Example code showing security vulnerabilities (educational)
  1. Check trust score: High trust score (60+) indicates community-validated safety.

  2. Manual review: Read the skill content yourself before installing.

  3. Report false positives: Open an issue so we can improve the scanner.


Performance Problems

Problem: Claude responses are slow after loading skills

Symptoms: Noticeable delay in Claude's responses.

Solutions:

  1. Unload unnecessary skills:
/skill-seeker:unload
# Remove skills you're not currently using
  1. Load fewer skills: Recommended: 1-3 skills for focused work Maximum: 5-6 skills for complex projects

  2. Use more specific skills: Specific skills have less content than broad ones:

  • ✅ "React Hooks Patterns" (focused)
  • ❌ "Complete JavaScript Guide" (too broad)

Problem: High memory usage

Symptoms: System becomes slow, high RAM usage.

Solutions:

  1. Unload all skills:
/skill-seeker:unload
# Remove all loaded skills
  1. Restart Claude: Fresh start clears all cached content.

  2. Load skills one at a time: Only load what you need for the current task.


GitHub API Issues

Problem: "Rate limit exceeded"

Symptoms:

Error: API rate limit exceeded.
Rate limit will reset in 32 minutes.

Diagnosis:

# Check current rate limit
curl -H "Authorization: token $GITHUB_TOKEN" \
  https://api.github.com/rate_limit

Solutions:

  1. Set GitHub token:
# Create token at https://github.com/settings/tokens
export GITHUB_TOKEN=ghp_your_token_here

# Add to shell profile for persistence
echo 'export GITHUB_TOKEN=ghp_your_token' >> ~/.bashrc
source ~/.bashrc

This increases limit from 60 to 5,000 requests/hour.

  1. Use registry search (no limits):
# Registry searches don't use API
/skill-seeker:seek [query]
  1. Wait for reset: Check when rate limit resets:
curl https://api.github.com/rate_limit | jq '.rate.reset'
date -r 1234567890  # Replace with the reset timestamp

Problem: "API authentication failed"

Symptoms:

Error: Bad credentials

Solutions:

  1. Check token format:
echo $GITHUB_TOKEN
# Should start with: ghp_
  1. Verify token is valid:
curl -H "Authorization: token $GITHUB_TOKEN" \
  https://api.github.com/user
  1. Create new token:
  1. Unset invalid token:
unset GITHUB_TOKEN
# Will use unauthenticated access (60 req/hour)

General Debugging

Enable Debug Mode

Add verbose output to diagnose issues:

# Enable bash debugging
export DEBUG=1

# Run command with detailed output
bash -x scripts/search-github.sh "test query"

Check Logs

# View recent command output
# (varies by shell and system)

# Check system logs (macOS)
log show --predicate 'process == "Claude"' --last 10m

# Check system logs (Linux)
journalctl -u claude-code --since "10 minutes ago"

Test Individual Components

# Test registry search
./scripts/search-registry.sh test

# Test GitHub API search
./scripts/search-github.sh test

# Test skill fetching
./scripts/fetch-skill.sh owner/repo path/to/skill.md

# Test security scanner
python3 scripts/scan-skill.py tests/fixtures/clean-skill.md

Get System Info

When reporting bugs, include:

# Operating system
uname -a

# Dependency versions
curl --version
jq --version
python3 --version

# Plugin version
cat .claude-plugin/plugin.json | jq '.version'

# Registry version
cat registry.json | jq '.version'

Still Having Issues?

If none of these solutions work:

  1. Search existing issues: https://github.com/mmmantasrrr/skill-seeker/issues

  2. Open a new issue: https://github.com/mmmantasrrr/skill-seeker/issues/new

Include:

  • Problem description
  • Steps to reproduce
  • Error messages (full output)
  • System information
  • What you've already tried
  1. Check documentation:
  1. Community help:
  • Start a discussion
  • Ask in Claude Code community forums

Prevention

Regular Maintenance

# Update Skill-Seeker
cd /path/to/skill-seeker
git pull origin main

# Update dependencies
brew upgrade curl jq python3  # macOS
sudo apt-get upgrade curl jq python3  # Linux

# Clean cache (if experiencing issues)
rm -rf /tmp/claude-skills-cache

Best Practices

  1. Keep GitHub token fresh: Tokens expire. Regenerate annually.

  2. Unload skills when done: Prevents conflicts and improves performance.

  3. Review security scans: Don't blindly override security warnings.

  4. Monitor rate limits: If doing heavy searching, set up a token.

  5. Report bugs: Help improve Skill-Seeker by reporting issues.


Frequently Asked Questions

How is this different from MCP tools?

Feature Skill-Seeker (Skills) MCP Tools
Type Behavioral frameworks (prompts) Executable code
Purpose Shape AI thinking Add capabilities
Installation Markdown files Binary/code installation
Security Content scanning Code execution

Use Skill-Seeker when: You want Claude to apply specific thinking patterns, frameworks, or best practices.

Use MCP tools when: You need Claude to interact with external systems or execute code.

What's a "trust score"?

Trust scores indicate skill quality based on:

  • Repository stars (log scale, max 40 points)
  • Recent activity (updated within 30 days, max 20 points)
  • Fork count (log scale, max 15 points)
  • Proper GitHub topics (5 points)
  • Not archived, has description, has license (5 points each)

Score ranges: 60+ (HIGH) → 40–59 (MEDIUM) → <40 (LOW)

Can I load multiple skills at once?

Yes! You can install multiple complementary skills sequentially. Claude will apply all frameworks simultaneously. For best results, limit to 1–3 focused skills per session and unload any you no longer need.

How do I preview a skill before installing?

Use the browse command to list all skills in a repository:

/skill-seeker:browse owner/repo

Then view the raw file on GitHub before installing.

Can I create my own skills?

Yes! Skills are plain markdown files. Create a repository with a .claude/skills/ directory, add your SKILL.md files, and install from your repo. See pbakaus/impeccable for a reference example.

Can I use private repositories?

Yes. You'll need a GITHUB_TOKEN with private repo access:

export GITHUB_TOKEN=ghp_your_token_here
/skill-seeker:install owner/private-repo/path/to/SKILL.md

Note: private skills won't appear in public search results.


Need more help? Open an issue or start a discussion.