惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Martin Fowler
Martin Fowler
I
InfoQ
腾讯CDC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
爱范儿
爱范儿
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
D
Docker
博客园 - 三生石上(FineUI控件)
Y
Y Combinator Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
B
Blog
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
Jina AI
Jina AI
V
Visual Studio Blog

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
Potassium — ClawHub Plugins
acoye · 2026-06-15 · via Hacker News: Show HN

Potassium for OpenClaw

Potassium brings Infomaniak workflows into OpenClaw as a native plugin. It registers OpenClaw tools backed by the published liquid-potassium Node SDK, ships agent skills for common Infomaniak tasks, and adds a dedicated kChat channel for live chat workflows.

The plugin is designed as an adapter layer: this repository owns the OpenClaw manifest, package metadata, skill guidance, docs, and safety defaults, while liquid-potassium owns the reusable Infomaniak API client and reviewed workflow implementations.

What It Adds

  • Native OpenClaw tools for Infomaniak discovery, reviewed workflows, Mail application actions, and controlled raw API calls.
  • Skills for kDrive, Mail, kChat, URL shortener, and general Infomaniak work.
  • A dedicated kchat OpenClaw channel for outbound posts, media posts, inbound webhook or WebSocket events, threaded replies, typing indicators, and optional online presence.
  • Conservative credential handling: bearer tokens stay in environment variables, and direct token config is rejected.
  • Conservative mutation handling: mutating operations are blocked by default and require explicit user intent plus tool-level confirmation when enabled.
  • A small package surface with no vendored SDK source and no external executable runtime.

Capabilities

Potassium is useful when an OpenClaw agent needs to work with Infomaniak services without hand-rolling HTTP calls or exposing credentials in prompts.

AreaCapabilities
DiscoveryList available domains, search operation metadata, describe API capabilities, and discover reviewed workflow coverage.
kDriveResolve drives and folders, create directories or default files, upload local files, and verify results when mutations are allowed.
MailList mailboxes and folders, review unread threads, read messages, move messages, and manage drafts through the Mail application API.
kChatPost text or media, reply in threads, receive webhook or WebSocket events, publish typing indicators, and preserve inbound reply context.
URL shortenerCheck quota, list short links, create chk.me links, and update expiration dates.
PolicyApply domain allowlists, operation allowlists or denylists, and mutation blocking before SDK calls run.

Install

Requirements:

  • OpenClaw 2026.6.6 or newer.
  • Node.js 22 or newer.
  • INFOMANIAK_TOKEN available in the OpenClaw process environment, unless plugin config sets another tokenEnvName.

Install from ClawHub after the package is published:

openclaw plugins install clawhub:@opencow42/potassium-openclaw
openclaw plugins enable potassium

Install from npm as a fallback:

openclaw plugins install npm:@opencow42/potassium-openclaw
openclaw plugins enable potassium

Install from a pinned GitHub release or tag:

openclaw plugins install git:github.com/OpenCow42/potassium-openclaw@0.4.0
openclaw plugins enable potassium

For local development:

openclaw plugins install --link .
openclaw plugins enable potassium

If OpenClaw runs as a service, restart the gateway after installing or changing plugin code:

openclaw gateway restart

Configure

Keep Infomaniak bearer tokens in environment variables only:

export INFOMANIAK_TOKEN="..."

Minimal explicit plugin config:

openclaw config patch --stdin <<'JSON5'
{
  plugins: {
    entries: {
      potassium: {
        enabled: true,
        config: {
          tokenEnvName: "INFOMANIAK_TOKEN",
          blockMutating: true
        }
      }
    }
  }
}
JSON5

Common plugin config fields:

  • tokenEnvName: environment variable name for the Infomaniak bearer token, default INFOMANIAK_TOKEN.
  • baseUrl: optional Infomaniak API base URL override.
  • mailApplicationBaseUrl: optional Mail application API base URL override.
  • allowedDomains: optional domain allowlist such as kdrive, mail, or kchat.
  • allowedOperations: optional normalized operation ID allowlist.
  • deniedOperations: optional normalized operation ID denylist.
  • blockMutating: blocks mutating operations when true, default true.

OpenClaw Tools

Potassium registers these native tools:

  • infomaniak_domains
  • infomaniak_search
  • infomaniak_describe
  • infomaniak_discover
  • infomaniak_mail_application
  • infomaniak_workflow_list
  • infomaniak_workflow_describe
  • infomaniak_workflow_run
  • infomaniak_call

Prefer reviewed workflow tools for domain actions. Use lower-level search, describe, discover, or raw call tools only when a reviewed workflow does not fit and policy allows the operation.

Skill Documentation

Skill-specific guidance lives in dedicated files under docs/skills/:

The executable skill instructions shipped to agents live under skills/.

kChat Channel

Potassium declares a dedicated OpenClaw channel capability named kchat. It can send messages to kChat, receive inbound events, and route OpenClaw replies back into the correct channel or thread.

Use WebSocket receive mode for most installs because it does not require a public callback URL. Use webhook receive mode when you already expose a public OpenClaw gateway URL and prefer kChat outgoing webhooks.

See the kChat channel guide for setup examples, configuration fields, inbound routing behavior, WebSocket receive, webhook receive, typing indicators, and troubleshooting.

Verify

Check the installed plugin and runtime registration:

openclaw plugins inspect potassium --runtime --json
openclaw plugins list --enabled
openclaw doctor

After verification, ask OpenClaw to use the Potassium skills for an Infomaniak task. The plugin should register the infomaniak_* tools listed above.

Project Docs

Local Development

npm install
npm test
npm run check

The default test suite uses metadata and mocked registration checks only. It does not call live Infomaniak APIs.

Security

Please see SECURITY.md for supported branches, vulnerability reporting, and credential-handling expectations.

Bearer/API tokens and webhook verification tokens must stay in environment variables. Do not place them in chat, docs, tests, OpenClaw config files, or committed config.

License

This project is licensed under Apache-2.0.