Skip to content

foxrun-ai/foxrun / skills/capability

capability

Verified

FileKindSize
SKILL.mdskill md6.1 KB
replays/README.mdmarkdown105 B
replays/read-vet-before-adopt.jsonconfig282 B
scripts/guide-path.pyscript1.3 KB

scripts/guide-path.py

View on GitHub
#!/usr/bin/env python3
"""Resolve a tool-guide path; never create directories or write files."""
import argparse
import os
from pathlib import Path
import re
import sys

KINDS=('cli','mcp','plugin','service','schedule','external-app')

def resolve(kind,tool,workspace=None):
    if kind not in KINDS: raise ValueError('tool kind is unresolved')
    if not re.fullmatch(r'[a-z0-9][a-z0-9._-]*',tool) or tool in ('.','..'):
        raise ValueError('tool must be one lowercase guide name')
    root=Path(os.environ.get('FOXRUN_HOME',str(Path.home()/'.foxrun'))).expanduser().resolve()
    if workspace is not None:
        sys.path.insert(0,str(root))
        from base import paths
        root=paths.workspace(workspace)
    directory=root/'tools'/kind
    if not directory.is_dir(): raise ValueError('drawn owner directory is missing: '+str(directory))
    return directory/(tool+'.md')

def main():
    parser=argparse.ArgumentParser()
    parser.add_argument('--kind',required=True)
    parser.add_argument('--tool',required=True)
    parser.add_argument('--workspace')
    args=parser.parse_args()
    try: print(resolve(args.kind,args.tool,args.workspace))
    except (ValueError,ImportError) as e: parser.exit(2,'Hold: cannot place tool guide: '+str(e)+'\n')

if __name__=='__main__':main()
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall