Skip to content

charlieviettq/awesome-agent-skill / .claude/skills/autoskill

autoskill

Verified

Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or composition recipes that chain existing ones) for the patterns not yet covered. Use when the user asks to analyze their recent work and propose skills based on what they actually do. Requires the screenpipe daemon (https://github.com/screenpipe/screenpipe) running locally on port 3030 — the skill has no other data source and will refuse to run if screenpipe is unreachable. All detection runs locally; only redacted cluster summaries reach the LLM.

tests/smoke_lmstudio.py

View on GitHub
"""Real smoke test against a live LM Studio server.

Not part of the pytest suite — requires LM Studio running on localhost:1234
with Gemma-4-31B-it loaded. Run manually:

    pipenv run python scientific-skills/autoskill/tests/smoke_lmstudio.py
"""

import json
import sys
from pathlib import Path

THIS_DIR = Path(__file__).resolve().parent
sys.path.insert(0, str(THIS_DIR.parent / "scripts"))

from backends import LocalBackend
from match_skills import load_skill_descriptions, top_k_matches
from synthesize import synthesize


def main() -> int:
    backend = LocalBackend(endpoint="http://localhost:1234/v1", model="gemma-4-31b-it")

    repo_skills_dir = THIS_DIR.parent.parent
    all_skills = load_skill_descriptions(repo_skills_dir)
    print(f"loaded {len(all_skills)} skills from {repo_skills_dir}")

    # Real sentence-transformers embedder.
    print("loading sentence-transformers/all-MiniLM-L6-v2 ...")
    from sentence_transformers import SentenceTransformer
    model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")

    def embedder(text: str):
        return list(map(float, model.encode(text)))

    cluster = {
        "apps": ["Chrome", "Zotero"],
        "session_count": 4,
        "total_duration_seconds": 7200,
        "example_titles": ["PubMed search: tumor microenvironment", "bioRxiv preprint"],
    }
    query = ("apps: " + ", ".join(cluster["apps"]) +
             " | titles: " + "; ".join(cluster["example_titles"]))

    top_k = top_k_matches(query, all_skills, embedder=embedder, k=5)
    print("real top-5 matches from embedding search:")
    for s in top_k:
        print(f"  {s['score']:.3f}  {s['name']}")

    result = synthesize(cluster, top_k, backend=backend)
    print("\n--- VERDICT ---")
    print(json.dumps(result, indent=2)[:1000])

    assert result["verdict"] in {"reuse", "compose", "novel"}, result
    print("\nOK: real sentence-transformers top-k + real Gemma-4-31B-it produced a valid verdict.")
    return 0


if __name__ == "__main__":
    sys.exit(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