Skip to content
Back to skills

759 Quickref 9d640a9f

ASecurity

⚠️ **Shell script fallback** - Using ~1,000 tokens 🎯 **Goal**: Enable MCP for 0 tokens

  • 9 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 11, 2026
developmentjavascriptpythongojavashellbashtestingapi

Works with

  • claude code
  • api
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 759-quickref_9d640a9f --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 759 Quickref 9d640a9f?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 759 Quickref 9d640a9f
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-759-quickref-9d640a9f/badge)](https://www.skillsdirectory.com/skills/tools-only-759-quickref-9d640a9f)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Skills Lister MCP - Quick Reference

## Current Status
⚠️ **Shell script fallback** - Using ~1,000 tokens
🎯 **Goal**: Enable MCP for 0 tokens

## Enable Zero-Token Mode

```bash
pip install mcp
cd mcp-servers/skills-lister
./setup.sh
# Restart Claude Code
```

## What Changes

| Indicator | Before MCP | After MCP |
|-----------|------------|-----------|
| Fallback message | ❌ "I don't have access to..." | βœ… No message |
| Tool used | Bash | MCP (silent) |
| Tokens | ~1,000 | **0** |
| Time | ~2 sec | <1 sec |

## MCP Tool Usage

### From Slash Command
```
/skills
```
Automatically uses MCP if configured.

### Direct Tool Call
```javascript
// Names only (fastest, 267 chars)
list_skills({ format: "names-only" })

// Structured JSON (5,117 chars)
list_skills({ format: "json" })

// Human-readable (5,063 chars)
list_skills({ format: "full" })
```

## Files Reference

```
mcp-servers/
β”œβ”€β”€ ENABLE-MCP.md          ← Start here (shows current vs after)
β”œβ”€β”€ SETUP-GUIDE.md         ← Detailed setup walkthrough
β”œβ”€β”€ QUICK-START.md         ← 5-minute installation
β”œβ”€β”€ README.md              ← Overview
└── skills-lister/
    β”œβ”€β”€ setup.sh           ← Run this to configure
    β”œβ”€β”€ server.py          ← MCP server (don't edit)
    └── TESTING.md         ← Verify it works
```

## Configuration Location

**Project** (recommended):
```
$HOME/Documents/ws/claude-skills/.claude/mcp.json
```

**Global** (all projects):
```
~/.claude/mcp.json
```

## Configuration Content

```json
{
  "mcpServers": {
    "skills-lister": {
      "command": "python3",
      "args": [
        "$HOME/Documents/ws/claude-skills/mcp-servers/skills-lister/server.py"
      ]
    }
  }
}
```

## Verification

### MCP Working βœ…
- No "fallback" message
- No Bash tool shown
- Instant results
- 0 tokens used

### MCP Not Working ❌
- See "I don't have access to the list_skills MCP tool"
- See "Bash(...)"
- ~1,000 tokens used

## Troubleshooting

| Problem | Solution |
|---------|----------|
| "Module not found: mcp" | `pip install mcp` |
| "Script not found" | `cp scripts/list-skills.sh ~/bin/` |
| MCP not loading | Check config path, restart Claude |
| Still using fallback | Verify MCP in config, check logs |

## Quick Test

```bash
# Test shell script
~/bin/list-skills.sh --names-only

# Test MCP server
cd mcp-servers/skills-lister
python3 server.py
# (Press Ctrl+D to exit)

# Check config
cat .claude/mcp.json
```

## Benefits Summary

- **Tokens saved**: 1,000 per call β†’ 0 (100% reduction)
- **Speed**: 2 seconds β†’ <1 second (2x faster)
- **Cost**: ~$0.003 per call β†’ $0 (free)

**Annual savings** (10 calls/day):
- 3.65M tokens
- ~$11 in API costs
- 60+ hours of waiting time

## Support

- **Setup help**: [SETUP-GUIDE.md](../SETUP-GUIDE.md)
- **How it works**: [ARCHITECTURE.md](ARCHITECTURE.md)
- **Testing**: [TESTING.md](TESTING.md)
- **Issues**: Check logs, see troubleshooting

## One-Liner Setup

```bash
pip install mcp && cd $HOME/Documents/ws/claude-skills/mcp-servers/skills-lister && ./setup.sh
```

Then restart Claude Code.

## Status Check Commands

```bash
# Python version (need 3.10+)
python3 --version

# MCP installed?
python3 -c "import mcp; print('βœ… MCP OK')"

# Shell script exists?
ls -l ~/bin/list-skills.sh

# Config exists?
cat $HOME/Documents/ws/claude-skills/.claude/mcp.json

# Server can run?
python3 $HOME/Documents/ws/claude-skills/mcp-servers/skills-lister/server.py
```

## Key Concepts

**MCP** = Model Context Protocol
- Lets Claude call external tools
- No tokens used for data operations
- Direct execution, instant results

**Shell Script** = Fallback method
- Works without MCP
- Uses tokens (~1,000)
- Slower but reliable

**Setup Script** = Automates configuration
- Checks requirements
- Creates config file
- Makes everything executable

## Next Steps

1. βœ… Run `./setup.sh`
2. βœ… Restart Claude Code
3. βœ… Test with `/skills`
4. βœ… Verify 0 tokens used
5. πŸŽ‰ Enjoy instant, free skill listings!

---

**Bottom Line**: 2 minutes to setup, lifetime of zero-token skill listings!

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.