AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Tiangong Kb Course Search

skill-tiangong-ai-agent-skills-tiangong-kb-course-search · by tiangong-ai

Search Tiangong knowledge-base course sources through the Tiangong AI CLI. Use for courseware, lessons, teaching material, Qinghua/Tsinghua humanities archive course collections, and evidence-grounded education-history retrieval. This skill searches only the course source.

— No reviews yet
0 installs
0 views
— view→install

Install

$ agentstack add skill-tiangong-ai-agent-skills-tiangong-kb-course-search

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ● Environment & secrets Used
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-tiangong-ai-agent-skills-tiangong-kb-course-search)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 12d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Tiangong Kb Course Search? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Tiangong KB Course Search

Use this skill for Tiangong course-source retrieval. It is intentionally single-source: always search course, never all, edu, or textbook.

Prerequisites

  • The wrapper defaults to the exact reviewed entrypoint

npx --yes --package "@tiangong-ai/cli@0.0.62" -- tiangong-ai; users do not need a preinstalled CLI. Set TIANGONG_AI_CLI or TIANGONG_AI_CLI_BIN only to override the CLI entrypoint intentionally.

  • Set TIANGONG_EDUCATION_BEARER_TOKEN for scoped bearer auth, or use

TIANGONG_COURSE_APIKEY / TIANGONG_AI_APIKEY. Credentials are never accepted in wrapper JSON, request files, URLs, or CLI arguments.

  • When request_file / input_file is provided, the wrapper loads .env from

that file's directory by default. env_file can point to a different dotenv file. It must be an owner-only regular non-symlink file (chmod 600), and only documented Tiangong variables are loaded. Existing process variables win.

  • Optionally set TIANGONG_AI_API_BASE_URL; the CLI accepts a Supabase project

root, /functions/v1, or /rest/v1 and derives Functions URLs.

Search

For normal searches, pass a query:

./scripts/course_search.sh '{
  "query": "马约翰 清华 体育 孙立人 梁实秋 钱三强",
  "top_k": 8,
  "ext_k": 20
}'

The script calls:

npx --yes --package "@tiangong-ai/cli@0.0.62" -- tiangong-ai education search --query  --sources course --json

For exact edge-function payloads, provide request_file or input_file:

./scripts/course_search.sh '{
  "request_file": "./course-request.json",
  "dry_run": true
}'

The script calls:

npx --yes --package "@tiangong-ai/cli@0.0.62" -- tiangong-ai education search --input  --sources course --json

Raw Payload Filters

Wrapper JSON can include inline raw course_search fields; the wrapper will forward them through the CLI --input path. The same payload can also be put in request_file / input_file:

{
  "query": "马约翰 清华 体育",
  "filter": {
    "tags": ["thu_humanities"]
  },
  "topK": 8,
  "extK": 20
}
  • filter: metadata term filters, shaped as { "field": ["value"] }.

Course collections currently use metadata keys such as tags and raw_relative_path when those keys are indexed for the collection.

  • topK, extK: raw edge-function names for result count and adjacent chunk

expansion.

  • datefilter is not exposed by this wrapper for course search.

Input Fields

  • query or input: convenience query text.
  • request_file or input_file: JSON body forwarded unchanged.
  • env_file: optional dotenv file. Without it, request_file /

input_file causes the wrapper to load .env from that file's directory.

  • filter, topK, extK: optional inline raw payload fields for course

search.

  • sources: optional compatibility field; only course or default is

accepted.

  • dry_run: true to return the exact request plan with masked credentials.
  • api_base_url, course_url, region, timeout as non-secret routing values.
  • top_k, ext_k: only used in query mode.

When writing reader-facing prose from retrieved results, state historical facts directly and cite source titles when useful. Do not mention retrieval mechanics, source grouping, or internal confidence checks.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.