@perkos/perkos-tech-plugin
v0.2.10
Published
PerkOS technology integration for OpenClaw, Hermes, MCP, and AgentSkills-compatible runtimes.
Readme
PerkOS Tech Plugin
Runtime-neutral PerkOS technology integration for agent runtimes.
This repo provides:
- AgentSkill: shared
perkos-techinstructions for OpenClaw, Hermes, and AgentSkills-compatible runtimes. - OpenClaw plugin: typed OpenClaw tools for PerkOS Knowledge, x402 policy, and identity-aware context queries.
- Hermes plugin wrapper: Python plugin surface for Hermes Agent.
- MCP server: portable tool bridge for runtimes that support Model Context Protocol.
Capabilities
- Query PerkOS Knowledge (
knowledge.perkos.xyz) with coverage metadata and request-on-miss support. - Fetch PerkOS live skill manifest.
- Check x402 metering/payment policy.
- List and create Knowledge requests for missing information/skills.
- Provider request actions: claim, fulfill, and validate requests using onboarded agent identity.
- Provider contribution action: submit sanitized research items directly into PerkOS Knowledge.
- Pass optional wallet, ERC-8004 identity, organization, and provider token headers.
- Keep public/private knowledge handling explicit and safe.
Security defaults
- Public queries work without identity headers.
- Wallet/ERC-8004/org headers are opt-in via environment/config.
x-agent-idis disabled by default until the agent is onboarded in Knowledge.- No secrets, private keys, or real wallets belong in this repo.
- Write/payment/provider tools are optional/approval-sensitive in OpenClaw and require explicit allowlisting plus
KNOWLEDGE_INGEST_TOKEN.
Runtime prerequisites
PerkOS Knowledge is served over standard public HTTPS at https://knowledge.perkos.xyz. Agents do not need a PerkOS-specific certificate, but their runtime must include a normal public CA certificate bundle so HTTPS/TLS verification can trust the certificate chain.
Most full OS/runtime environments already include this. Minimal container images may not, especially Python images based on Debian/Ubuntu slim or Alpine.
Install the standard CA bundle when needed:
# Debian/Ubuntu
apt-get update && apt-get install -y ca-certificates
# Alpine
apk add --no-cache ca-certificatesIf the Python helper fails with CERTIFICATE_VERIFY_FAILED, install/update ca-certificates in the container or configure Python to use an equivalent CA bundle such as certifi.
Layout
perkos-tech-plugin/
├── openclaw.plugin.json
├── package.json
├── src/ # OpenClaw plugin + shared client
├── mcp/ # Runtime-neutral MCP server
├── skills/perkos-tech/ # AgentSkill shared by OpenClaw/Hermes
├── hermes/perkos-tech/ # Hermes plugin wrapper
└── examples/ # Runtime config examplesStatus
MVP plugin scaffold with read tools enabled by default and request/provider write tools exposed as opt-in capabilities.
Tool surface
Default/read tools:
perkos_knowledge_queryperkos_skill_manifestperkos_x402_policyperkos_knowledge_requests_list
Optional/write/provider tools:
perkos_knowledge_request_createperkos_knowledge_request_claimperkos_knowledge_request_fulfillperkos_knowledge_request_validateperkos_knowledge_submit_research
OpenClaw users should allow optional tools explicitly, e.g. tools.allow: ["perkos-tech"] or specific tool names, and only on trusted provider agents.
Enterprise Knowledge quality
perkos_knowledge_query supports the production quality controls exposed by knowledge.perkos.xyz:
qualityMode:enterprise(default) orvalidated_onlyminConfidence: minimumconfidencePercentfrom 0-100requireValidated: only return independently validated items
Responses include quality metadata plus per-item validationStatus, confidencePercent, trustTier, and qualityReasons. Agents should disclose low/pending/untrusted context instead of treating it as final fact.
Install and release docs
- Installation:
docs/install.md - Runtime compatibility matrix:
docs/runtime-matrix.md - Release checklist:
docs/release.md
Local verification
npm ci
npm run check
npm run build
npm run py:check
npm run smoke
npm run pack:dry-runnpm run smoke only calls public Knowledge endpoints and does not require secrets.
