Skip to content

poll-poll134/android-blackbox-analysis-skill

android-app-blackbox-competitive-analysis

Verified

Use when users request Android competitor research, systematic feature or interface mapping, evidence screenshots, interaction coverage, comparison-ready product dossiers, or Android system-boundary verification without APK decompilation.

FileKindSize
SKILL.mdskill md3.2 KB
examples/sanitized-complete-example/README.en.mdmarkdown2.0 KB
examples/sanitized-complete-example/README.mdmarkdown1.8 KB
examples/sanitized-complete-example/analysis/capability-matrix.csvother1.3 KB
examples/sanitized-complete-example/analysis/system-interface-evidence.csvother1.2 KB
examples/sanitized-complete-example/evidence/screen-summaries/DEMO-0001_empty-home.mdmarkdown254 B
examples/sanitized-complete-example/evidence/screen-summaries/DEMO-0002_app-picker.mdmarkdown253 B
examples/sanitized-complete-example/evidence/screen-summaries/DEMO-0003_instance-created.mdmarkdown254 B
examples/sanitized-complete-example/evidence/screen-summaries/DEMO-0004_instance-menu.mdmarkdown249 B
examples/sanitized-complete-example/evidence/screen-summaries/DEMO-0005_permission-diagnostics.mdmarkdown463 B
examples/sanitized-complete-example/indexes/control_coverage.csvother1.7 KB
examples/sanitized-complete-example/indexes/coverage_gaps.csvother1.2 KB
examples/sanitized-complete-example/indexes/interface_index.csvother1.1 KB
examples/sanitized-complete-example/indexes/screenshot_index.csvother1.4 KB
examples/sanitized-complete-example/input/capture-plan.csvother638 B
examples/sanitized-complete-example/input/scope.en.mdmarkdown849 B
examples/sanitized-complete-example/input/scope.mdmarkdown760 B
examples/sanitized-complete-example/reports/final-report.en.mdmarkdown3.6 KB
examples/sanitized-complete-example/reports/final-report.mdmarkdown3.1 KB
references/analysis-guide.mdmarkdown2.0 KB
references/evidence-model.mdmarkdown1.9 KB
scripts/build_indexes.mjsexecutablescript6.8 KB
scripts/capture_evidence.shexecutablescript4.8 KB
scripts/image_info.pyexecutablescript1.3 KB
scripts/init_case.shexecutablescript1.3 KB
scripts/package_release.pyexecutablescript2.6 KB
scripts/redact_check.mjsexecutablescript3.1 KB
scripts/scroll_sweep.shexecutablescript2.5 KB
scripts/smoke_test.shexecutablescript1.8 KB
scripts/tap_ui.shexecutablescript1.3 KB
scripts/ui_pick.pyexecutablescript1.9 KB
scripts/validate_example.mjsexecutablescript12.2 KB
scripts/validate_skill.mjsexecutablescript2.6 KB
templates/capability-matrix.csvother126 B
templates/report-template.mdmarkdown1.2 KB
templates/system-interface-evidence.csvother120 B

scripts/ui_pick.py

View on GitHub
#!/usr/bin/env python3
import re
import sys
import xml.etree.ElementTree as ET
from pathlib import Path


def clean(value):
    return re.sub(r"\s+", " ", value or "").strip()


def main():
    if len(sys.argv) != 3:
        raise SystemExit("usage: ui_pick.py <ui_dump.xml> <exact-text-desc-or-resource-id>")
    xml_path = Path(sys.argv[1])
    if xml_path.is_symlink():
        raise SystemExit("refusing symlinked UI dump")
    if xml_path.stat().st_size > 10 * 1024 * 1024:
        raise SystemExit("UI dump exceeds 10 MiB safety limit")
    xml_text = xml_path.read_text(encoding="utf-8", errors="replace")
    marker = "</hierarchy>"
    start = xml_text.find("<hierarchy")
    end = xml_text.rfind(marker)
    if start == -1 or end == -1:
        raise SystemExit("complete hierarchy not found")
    root = ET.fromstring(xml_text[start:end + len(marker)])
    selector = clean(sys.argv[2])
    for element in root.iter():
        values = {
            "text": clean(element.attrib.get("text")),
            "content-desc": clean(element.attrib.get("content-desc")),
            "resource-id": clean(element.attrib.get("resource-id")),
        }
        matched = None
        for key, value in values.items():
            if value == selector or (key == "resource-id" and (value.endswith(":id/" + selector) or value.endswith("/" + selector))):
                matched = (key, value)
                break
        if not matched:
            continue
        bounds = element.attrib.get("bounds", "")
        parsed = re.fullmatch(r"\[(\d+),(\d+)\]\[(\d+),(\d+)\]", bounds)
        if not parsed:
            raise SystemExit("matching node has invalid bounds")
        x1, y1, x2, y2 = map(int, parsed.groups())
        print(f"{(x1 + x2) // 2} {(y1 + y2) // 2}")
        print(f"matched={matched[0]}:{matched[1]}", file=sys.stderr)
        print(f"bounds={bounds}", file=sys.stderr)
        return
    raise SystemExit("node not found")


if __name__ == "__main__":
    main()
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 197kUpdated Claude CodeCodexVerifiedInstall