Skip to content

MemTensor/skills-vote / integration/skills/skills-vote-local

skills-vote-local

Verified

Use when retrieving the most relevant skills from a local or private skill library instead of relying on network-based skill discovery.

scripts/recommend.py

View on GitHub
#!/usr/bin/env python3
# /// script
# dependencies = ["PyYAML>=6.0.3,<7.0.0", "chromadb>=1.3.5,<2.0.0"]
# ///

from __future__ import annotations

import argparse
import json

from cli_common import add_config_argument, resolve_existing_config_path


def parse_args() -> argparse.Namespace:
    parser = argparse.ArgumentParser()
    add_config_argument(parser)
    parser.add_argument(
        "-q",
        "--query",
        required=True,
        help="A rewritten, retrieval-optimized query.",
    )
    parser.add_argument(
        "--top-k",
        type=int,
        help="Override retrieval.top_k for this query.",
    )
    return parser.parse_args()


def main() -> None:
    from local_skill_search import load_config, recommend_local_skills

    args = parse_args()
    config_path = resolve_existing_config_path(args.config)
    config = load_config(config_path)
    try:
        response = recommend_local_skills(args.query, config, top_k_override=args.top_k)
    except RuntimeError as exc:
        raise SystemExit(str(exc)) from None
    print(json.dumps(response, ensure_ascii=False, indent=2))


if __name__ == "__main__":
    main()
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall