Skip to content

MiaoDX/roboclaws / skills/household-world

household-world

Verified

Complete household-world goals through public household MCP tools.

FileKindSize
SKILL.mdskill md12.6 KB
scripts/scratchpad.pyexecutablescript5.6 KB
scripts/target_query_recovery.pyscript1.5 KB
scripts/trace_preserving_cleanup.pyexecutablescript4.9 KB
skill.jsonconfig2.9 KB

scripts/target_query_recovery.py

View on GitHub
#!/usr/bin/env python3
"""Skill helper for public Runtime Metric Map target-query recovery."""

from __future__ import annotations

import argparse
import json
from pathlib import Path
from typing import Any

from roboclaws.core.json_sources import read_json_object
from roboclaws.household.target_query import resolve_target_query


def resolve_from_runtime_map(
    runtime_metric_map: dict[str, Any],
    query: str,
    *,
    operation: str = "inspect",
    max_results: int = 8,
) -> dict[str, Any]:
    return resolve_target_query(
        runtime_metric_map,
        query,
        operation=operation,
        max_results=max_results,
    )


def main(argv: list[str] | None = None) -> int:
    parser = argparse.ArgumentParser(
        description="Resolve a target query against public runtime_metric_map target candidates.",
    )
    parser.add_argument("runtime_metric_map", type=Path)
    parser.add_argument("query")
    parser.add_argument("--operation", default="inspect")
    parser.add_argument("--max-results", type=int, default=8)
    args = parser.parse_args(argv)

    try:
        runtime_map = read_json_object(args.runtime_metric_map, label="runtime_metric_map")
    except (OSError, ValueError) as exc:
        raise SystemExit(str(exc)) from exc
    resolution = resolve_from_runtime_map(
        runtime_map,
        args.query,
        operation=args.operation,
        max_results=args.max_results,
    )
    print(json.dumps(resolution, indent=2, sort_keys=True))
    return 0


if __name__ == "__main__":
    raise SystemExit(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