giskard-oss
Routes Giskard OSS v3 package tasks across checks, LLM providers, agents, scans, runtime setup, troubleshooting, and maintainer validation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- giskard-oss
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Routes Giskard OSS v3 package tasks across checks, LLM providers, agents, scans, runtime setup, troubleshooting, and maintainer validation.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/development-and-testing.md3.4 KB
- 参考文档references/package-overview.md3.6 KB
- 参考文档references/repo-provenance.md3.4 KB
- 参考文档references/repo-routing-metadata.json425 B
- 参考文档references/troubleshooting.md3.9 KB
- 脚本scripts/check_giskard_imports.py5.7 KB
03 SKILL.md 正文
Giskard OSS
Use this repo skill for Giskard OSS v3, a split Python package set for
evaluating and red-teaming agentic systems. It covers giskard.checks,
giskard.llm, giskard.agents, giskard.scan, and giskard.core.
Start Here
- Package overview explains package names, install extras, import namespaces, and version boundaries.
- Cross-cutting troubleshooting covers install, import, telemetry, optional extras, provider credentials, and scan triage.
- Development and testing notes are only for tasks already working inside a Giskard OSS source checkout.
- Repository provenance records the source snapshot used to generate this skill and when to refresh it.
- Repo routing metadata is structured import metadata for repo-skills-router publication checks.
- scripts/check_giskard_imports.py checks an installed environment without provider calls or network access.
Minimal Runtime Facts
- Requires Python
>=3.12. - Use namespace imports such as
import giskard.checks; do not usegiskard_checksor other underscore package names. - The root
giskarddistribution is a v3 meta-distribution; the operational APIs live under split packages. - Set
DO_NOT_TRACK=1orGISKARD_TELEMETRY_DISABLED=1before the first import when the user requests telemetry opt-out. - No console entry points are declared by the package metadata; primary usage is through Python APIs.
Route by Task
| User task | Read |
|---|---|
Install Giskard, choose extras, inspect versions, disable telemetry, diagnose import conflicts, or use giskard.core utilities |
runtime-setup |
| Build evaluation scenarios/suites, choose deterministic checks or LLM judges, generate inputs, write custom checks, or export JUnit | checks-evals |
| Configure OpenAI/Google/Anthropic/Azure provider aliases, call completions/embeddings/responses, inspect typed messages/tools, or handle provider errors | llm-providers |
Build async chat workflows with Generator, ChatWorkflow, tools, prompt templates, structured output, retries, rate limiting, or LiteLLM |
agents-workflows |
Plan or run vulnerability scans, RAG quality scans, scan suite generation, KnowledgeBase, prompt-injection generators, or garak/deepteam/lidar integrations |
scan-redteam |
Safe Checks Before Deeper Work
Run installed-package diagnostics first when the environment is uncertain:
python scripts/check_giskard_imports.py
python scripts/check_giskard_imports.py --require-scan
Then use sub-skill scripts for focused no-key checks:
python sub-skills/checks-evals/scripts/run_checks_smoke.py
python sub-skills/llm-providers/scripts/inspect_llm_routing.py
python sub-skills/agents-workflows/scripts/run_agents_smoke.py
python sub-skills/scan-redteam/scripts/inspect_scan_api.py
These helpers are deterministic and do not call live providers, remote datasets, third-party scanners, or source-checkout tests.
Optional Dependencies and External Inputs
Install only the extras the task needs. Provider-backed LLM judges, generators,
agents, and scans require matching SDK extras plus credentials. Third-party scan
integrations may require garak, deepteam, private packages, network access,
or additional API keys. Do not treat a successful import smoke as proof that a
live provider or scanner workflow is ready.
Refresh Rule
Before relying on this skill for a changed checkout, compare the current commit, working-tree state, and package versions against repo-provenance.md. If they differ materially, run the repo-skill refresh workflow instead of patching runtime guidance ad hoc.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).