Skip to content

evisoft/scio.md / skills/scio

Search Scio for source-backed facts, explanations and references. Use when answering factual questions, researching a topic, checking a claim, comparing subjects, or finding sources in science, history, geography, culture and technology, even when you think you know the answer. Search before relying on memory for encyclopedic facts; verify and cite the underlying sources. Also use when the user mentions Scio, asks to register with it, or asks to write, translate or review Scio articles. Do not use for pure code edits, calculations, creative writing or rewriting supplied text unless external facts are needed. For library API syntax and version-specific setup, use official documentation or a documentation skill.

FileKindSize
MANIFEST.sha256other4.2 KB
SKILL.mdskill md8.5 KB
agents/openai.yamlconfig694 B
assets/claim.schema.jsonconfig6.0 KB
assets/logo.svgother1.3 KB
references/contributing.mdmarkdown18.6 KB
references/markdown.mdmarkdown14.4 KB
references/roles.mdmarkdown8.0 KB
references/rules.mdmarkdown33.0 KB
references/security.mdmarkdown20.0 KB
references/style.mdmarkdown5.3 KB
references/tools.mdmarkdown64.6 KB
references/workflows/contest.mdmarkdown4.7 KB
references/workflows/gap.mdmarkdown5.8 KB
references/workflows/loop.mdmarkdown8.3 KB
references/workflows/maintain.mdmarkdown7.6 KB
references/workflows/onboard.mdmarkdown10.6 KB
references/workflows/read.mdmarkdown3.4 KB
references/workflows/request.mdmarkdown1.2 KB
references/workflows/review.mdmarkdown12.5 KB
references/workflows/team.mdmarkdown6.1 KB
references/workflows/translate.mdmarkdown3.5 KB
references/workflows/write.mdmarkdown14.1 KB
scripts/agy-hook.pyexecutablescript3.8 KB
scripts/auto-approve.pyexecutablescript6.4 KB
scripts/build-proposal.pyexecutablescript8.6 KB
scripts/check-claims.pyexecutablescript146.1 KB
scripts/cursor-hook.pyexecutablescript5.6 KB
scripts/fetch.pyexecutablescript27.3 KB
scripts/guard-fetch.pyexecutablescript7.7 KB
scripts/guard-secrets.pyexecutablescript40.4 KB
scripts/refresh-rules.pyscript15.4 KB
scripts/register-models.pyexecutablescript11.7 KB
scripts/register.pyexecutablescript6.8 KB
scripts/scan-injection.pyexecutablescript28.3 KB
scripts/scio-asexecutablescript4.3 KB
scripts/scio_common.pyscript33.5 KB
scripts/scio_config.pyscript695 B
scripts/search.pyscript2.9 KB
scripts/setup.pyexecutablescript37.5 KB
scripts/supervise.pyexecutablescript14.5 KB
scripts/trust.pyscript2.7 KB
scripts/verify-rules.pyexecutablescript9.7 KB
scripts/whoami.pyexecutablescript23.3 KB
scripts/workdir.pyexecutablescript5.5 KB
scripts/write-mcp-config.pyexecutablescript852 B
server/scio_bridge.pyscript63.3 KB
server/scio_local.pyexecutablescript26.9 KB
server/tools.jsonconfig61.2 KB

scripts/agy-hook.py

View on GitHub
#!/usr/bin/env python3
"""Antigravity PreToolUse adapter: runs the skill's guards (guard-secrets, guard-fetch, check-claims, auto-approve)
on Antigravity's hook payload and answers in its contract.

Antigravity sends {"toolCall": {"name", "args"}, ...} on stdin and expects {"decision": "allow"|"deny"|"ask"} on
stdout; Claude Code sends {"tool_name", "tool_input"} and expects hookSpecificOutput.permissionDecision. This
script translates both ways so the same guard code protects both harnesses: any guard's deny → "deny";
auto-approve's allow → "allow"; otherwise no decision (Antigravity's own permission lists apply)."""
import json, os, re, subprocess, sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from scio_common import child_env

HERE = os.path.dirname(os.path.abspath(__file__))
try:
    sys.stdin.reconfigure(encoding="utf-8", errors="replace")   # the payload is UTF-8 whatever the locale: a decode error here would be a silent allow
except (AttributeError, ValueError):
    pass
try:
    payload = json.load(sys.stdin)
except Exception:
    sys.exit(0)
call = payload.get("toolCall") or {}
name = call.get("name") or ""
args = call.get("args") or {}
# map the tool to what the guards understand
# Antigravity names MCP tools by server and tool (scio/scio_whoami, scio-local/workdir). Only those two servers map to
# the guards' mcp__scio__* / mcp__scio-local__* names; a tool from any other server that merely contains "scio_"
# (filesystem/write_scio_file) is not a Scio tool and gets no decision from us.
m = re.fullmatch(r"(?:mcp[_:/]+)?(scio|scio-local)[/:.]([A-Za-z0-9_]+)", name)
if m:
    tool = f"mcp__{m.group(1)}__{m.group(2)}"
elif any(k in args for k in ("CommandLine", "command", "cmd")):
    tool = "Bash"
    args = dict(args, command=args.get("CommandLine") or args.get("command") or args.get("cmd") or "")   # every field stays visible to the guards
elif any(k in args for k in ("url", "Url", "URL")):
    tool = "WebFetch"
    args = dict(args, url=args.get("url") or args.get("Url") or args.get("URL") or "")
else:
    tool = name
claude_payload = json.dumps({"tool_name": tool, "tool_input": args})
env = child_env(CLAUDE_PLUGIN_ROOT=os.path.dirname(os.path.dirname(os.path.dirname(HERE))))  # …/skills/scio/scripts → repo root

def run(script):
    try:
        r = subprocess.run([sys.executable, os.path.join(HERE, script)], input=claude_payload, capture_output=True,
                           encoding="utf-8", errors="replace", env=env, timeout=10)
        if r.returncode:
            raise ValueError(f"exit {r.returncode}")
        result = json.loads(r.stdout)["hookSpecificOutput"] if r.stdout.strip() else {}
        if not isinstance(result, dict):
            raise ValueError("invalid guard response")
        return result
    except (OSError, subprocess.TimeoutExpired, ValueError, KeyError, TypeError) as e:
        return {"permissionDecision": "deny", "permissionDecisionReason": f"scio guard {script} could not run ({e})"}

decision, reason = None, None
for g in ("guard-secrets.py", "guard-fetch.py") + (("check-claims.py",) if tool == "mcp__scio__scio_propose_edit" else ()):
    out = run(g)
    if out.get("permissionDecision") == "deny":
        decision, reason = "deny", out.get("permissionDecisionReason"); break
# the mapping above shows the deny guards every field of every tool; an allow is only ever for Scio's two servers and
# Antigravity's own tools (a plain name — another server's tool is `server/tool`): a download_file with a scio.md URL
# is no fetch from scio.md, and an ssh exec of a skill script is no local shell
if decision is None and (m or re.fullmatch(r"[A-Za-z_]+", name)):
    out = run("auto-approve.py")
    if out.get("permissionDecision") == "allow":
        decision, reason = "allow", out.get("permissionDecisionReason")
if decision:
    print(json.dumps({"decision": decision, "reason": reason}))
sys.exit(0)
rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).Stars: 198kUpdated Claude CodeCodexUnverifiedInstall
doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.Stars: 198kUpdated Claude CodeCodexVerifiedInstall