{"agent_skill": {"mission": "Use the OpenHub Ops gateway to perform controlled build, deploy, diagnose, db-init, and db-access workflows without touching physical hosts.", "role": "platform_operations_agent", "skill_id": "openhub-idc-ops"}, "api_base_url": "https://ops-agent.open-hub.cn", "api_endpoints": {"catalog": "/v1/catalog/projects", "db_close": "/v1/db/close", "db_init": "/v1/db/init", "db_open": "/v1/db/open", "db_session": "/v1/db/session/{session_id}", "git_login": "/v1/login/git", "health": "/healthz", "project_context": "/v1/project/context", "refresh": "/v1/token/refresh", "register": "/v1/register", "tasks": "/v1/tasks"}, "bootstrap_requirements": {"external_agent": ["Ask the human user for Git username and password when repository checkout is required.", "Call the Git login endpoint to obtain a short-lived Ops session and discover the projects registered for that Git user."], "in_cluster_agent": ["Use a bound Kubernetes ServiceAccount instead of Git credentials."]}, "db_proxy_helper": {"env_vars": {"git_password": "OPS_GIT_PASSWORD", "session_token": "OPS_DB_SESSION_TOKEN"}, "lifecycle": {"shutdown": "helper closes the db session and tears down the local transport on exit", "startup": "helper logs in with Git credentials, calls db_open, exchanges the returned session token for a private gateway tunnel manifest, retries transient backend-startup failures, then opens the local TCP listener"}, "mode": "managed_local_helper", "operator_prerequisites": ["Install the official opsctl helper. Public DB transport is gateway-managed over standard project HTTPS entrypoints; external agents must not prompt end users for IDC SSH or kubectl details."], "recommended_command": "OPS_GIT_PASSWORD='<git-password>' opsctl open-db-proxy --gateway-url https://ops-agent.open-hub.cn --git-username <git-username> --project-id <project-id> --database-ref <database-ref> --environment dev", "required_user_inputs": ["git_username", "git_password"], "supported_sequence": ["POST /v1/login/git", "POST /v1/db/open (project-bound hosts may use the minimal body)", "Read helper_bundle.session_token from the db_open response", "Launch the official local helper with OPS_DB_SESSION_TOKEN set", "Connect the local client to 127.0.0.1:<local_port>", "POST /v1/db/close (session_id is sufficient on project-bound hosts)"], "transport": "gateway_managed_helper_session"}, "discovery_endpoints": {"human_html": "/", "json": "/.well-known/openhub-ops-agent.json", "plain_text": "/ai.txt"}, "document_type": "openhub_ops_agent_discovery", "document_version": "2026-04-24", "ok": true, "primary_domain": "ops-agent.open-hub.cn", "product": "OpenHub Ops", "project_context": null, "route": {"address_override": "", "connect_url": "https://ops-agent.open-hub.cn", "curl_resolve_example": "", "host_header": "ops-agent.open-hub.cn", "route_id": "openhub-public-domain-https", "tls_server_name": "ops-agent.open-hub.cn"}, "transport_policy": {"public_preference": "domain_https"}}