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

推荐订阅源

Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
雷峰网
雷峰网
IT之家
IT之家
I
InfoQ
酷 壳 – CoolShell
酷 壳 – CoolShell
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 【当耐特】
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Hugging Face - Blog
Hugging Face - Blog
A
About on SuperTechFans
月光博客
月光博客
P
Proofpoint News Feed
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
G
Google Developers Blog
小众软件
小众软件
宝玉的分享
宝玉的分享
Jina AI
Jina AI
V
Visual Studio Blog

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal).
Potassium — ClawHub Plugins
acoye · 2026-06-15 · via 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.