Wiring an Existing Agent Skill Into Slack as a Callable Internal Tool

Connect a skill to Slack in three tested handoffs, with authorization enforced in the runtime.

Cover illustration for “Wiring an Existing Agent Skill Into Slack as a Callable Internal Tool”

Sponsored by UFO

Written by
Working Agents Editors
Published
November 9, 2026
Reading time
9 min read
Sources cited
5 sources ↓

Adding an existing agent skill to Slack as a callable internal tool requires three separate contracts, namely the skill definition, its MCP tool registration, and Slack’s OAuth-scoped invocation. The dependable approach is to connect and test each handoff while keeping authorization in the runtime. For AI in Slack, a tool that answers successfully is not yet a tool that acts safely.

Why Slack became a viable surface for callable agent tools in 2026

Slack’s first-party infrastructure makes 2026 a turning point for this wiring pattern. The primitive stack from a skill to a Slack invocation is now available, so teams no longer have to build it around broad bot access. The July 2026 MCP specification update adds a stateless core, a framework for extensions, and hardened authorization. Those changes make the foundation stronger for enterprise use. They also sharpen the distinction between transporting a request and governing its execution.

The official Slack MCP server uses user-scoped OAuth tokens. User tokens bind a call to the invoking user’s permissions, while bot tokens give it the bot account’s permissions. That difference changes the authorization boundary. Earlier bot-based integrations could act with permissions decoupled from the person making the request. With user-scoped invocation, the tool does not acquire broader Slack access simply because a shared bot has it.

What does that mean for a team choosing an assistant? Off-the-shelf Slack bots and no-code assistant add-ons remain alternatives to wiring an existing skill, but the choice turns on the work required. To summarize conversations automatically, the skill needs access to the right conversation context. A scheduled workflow that uses memory and acts through other tools also needs state, scheduling, and enforcement. For that second case, a purpose-built runtime such as UFO is a relevant option, rather than treating a chat response as the whole integration.

The three-layer architecture the wiring must thread

The first layer is the skill definition. It describes a reusable workflow, including its trigger, parameters, and MCP server dependencies. It is the unit of capability. A declaration says what work is available and what that work needs, while the runtime decides whether and how to run it.

The second layer is the MCP server registration, which exposes the skill as a named tool with a formal contract. The third is Slack’s OAuth-scoped invocation, which connects a user-facing trigger to that tool under the invoking user’s permissions. Each boundary has its own failure mode. Missing dependencies block registration, a wrong schema prevents invocation, and missing OAuth scopes can cause a permission error or a silent failure.

The AOS specification formalizes a related separation between the Control & Governance Plane and the Runtime & Coordination Plane. The former governs what a skill may do, while the latter executes and coordinates its work. These planes describe responsibilities that must remain distinct throughout the message path. UFO, an agent operating system built for autonomous agents, is one example of a platform that separates governance from runtime concerns so that a broken handoff is easier to inspect.

What a skill definition must declare before it can be wired

A registrable skill needs a name, a natural-language trigger description, explicit MCP server dependencies, and a schedule or event that fires it. Its YAML artifact also describes what it delivers and declares the parameters needed for the workflow. These declarations give the runtime something concrete to discover. At startup, the framework scans skill directories and exposes skills as callables. If a dependency is left undeclared, the path breaks before it reaches Slack.

A cron expression or event name establishes when work may start, while the natural-language description helps the model decide when the skill fits a task. Both must be specific enough to use. A vague description can cause the wrong invocation even when the rest of the declaration is valid. It can also leave a registered skill unselected because the model does not recognize the intended match.

A domain-neutral definition should describe the requested work, the tools it consumes, and the result it delivers without tying the registration pattern to one business task. The competitor-monitoring example illustrates the relationship. Its YAML declares a cron trigger, a web_search MCP dependency, and Slack delivery to a designated alert channel. The workflow searches for brand mentions and posts the results. A different workflow would change those declarations without changing the three-layer architecture.

Because UFO runs scheduled, memory-enabled agents connected to code repositories, Slack, and cloud file storage, a cron-driven skill that posts to Slack maps onto its existing operating model. The runtime still needs explicit dependencies before it can accept the skill. Capability enforcement comes after understanding that declarative contract, rather than being hidden inside the trigger description.

Registering the skill as a named tool on an MCP server

Registration makes the skill available as a named tool so a calling client can see its description, input types, and output types. The practical sequence begins with the tool handler. It connects an incoming tool invocation to the existing skill while preserving the skill’s internal logic. Next comes the input schema, using JSON Schema or an equivalent formal description. That schema must match the parameters the skill can take.

The output schema completes the contract by describing what the caller receives. Once the handler and schemas are declared, the server can start and expose its tool list for discovery. Discovery is the first independent registration test. The published name, description, and schemas must agree with the skill definition before Slack is added to the path. Runtime capability enforcement remains separate because an MCP schema describes a tool without restricting everything its implementation can do.

Slack’s official MCP server uses user-token OAuth, with per-tool scopes describing the Slack capabilities exercised during a call. The minimum permissions depend on the workflow. For the channel-reading and message-posting example, the skill needs capabilities to read the required conversation and post the result, with no unrelated access. The brief does not establish a universal set of OAuth scope identifiers. Exact scope names must come from the chosen tools’ authorization requirements, so a generic copy-and-paste recipe will not do.

In the invocation path, Slack acts as the MCP client, discovering the registered server’s tools and matching a trigger to a tool name. An @mention can provide that user-facing trigger, just as a slash command or automated event can. Slack then calls the tool with the user’s token attached. The stateless core makes that invocation self-contained. Any earlier context the skill needs must come from its own memory layer because it cannot count on the MCP server to remember the conversation.

How the skill receives context, acts, and returns a result to the channel

A single invocation must provide the invoking user’s identity, the channel or thread where the request began, and the supplied parameters. Without those inputs, a valid tool call can still lack the context needed for useful work. For a Slack conversation, the skill needs the relevant conversation context to fulfill a request to “summarize. An automatic summary also needs its declared schedule or event to initiate the workflow.

Earlier interactions require a separate source of memory. The skill may get them from session memory, episodic logs, or a vector store, with no reliance on server-side MCP session state. Stateless transport does not mean a forgetful agent. Agent libOS describes persistent AgentProcess instances with process-local Object Memory namespaces, which let working state survive across calls. The runtime handles the memory boundary even when the request comes through MCP.

Acting introduces a different problem from remembering. If an external API post is dispatched but its result is uncertain, blindly replaying it can create a duplicate Slack message. Agent libOS uses a prepare–dispatch–settle protocol to record that ambiguity rather than treating an uncertain result as permission to repeat the action. The tool’s output payload then returns to Slack for rendering in the originating channel or thread. The user sees a response attributed to the tool, while the runtime remains responsible for handling the action’s outcome.

What the agent runtime must enforce that the MCP protocol does not

When a tool call succeeds, it proves that the transport worked. It does not prove that the implementation stayed within its claimed capability. An MCP server can describe a tool as searching files while its implementation can also execute arbitrary shell commands. The protocol provides no built-in mechanism to detect or prevent that mismatch. Privilege escalation, data exfiltration, and silent overreach arise in the gap between the description and the actual execution.

Sharma and Shah’s AOS paper assigns schedulers, context and memory management, tool and capability registries, policy and trust enforcement, and observability and audit to the runtime architecture. MCP does not supply those responsibilities. The AOS specification is a research and architecture proposal. Its two-plane model instead provides a way to ask precise questions. Who grants authority, who routes the call, and what records explain a consequential action?

Agent libOS makes those questions concrete at admission and dispatch. It resolves declared capabilities at admission against the Task Authority ceiling and typed Capability set, so an undeclared dependency is a hard failure at admission. At dispatch, syscall-mediated primitives and a canonical Sink resolved from a Host-owned registry connect the request to an actual capability. The schema is no longer the enforcement boundary. The runtime must constrain the operation that happens.

AgentKernel argues that application-level middleware sharing a process trust boundary with an agent cannot provide mandatory, non-bypassable enforcement. On that account, adding another policy plugin does not repair the structural gap. Enforcement must be at the OS substrate level. This is why a switch from ad-hoc wiring to a purpose-built runtime is more than moving configuration files.

AgenticRei’s deontic policy framework exposes a further limit of simple allow-or-deny decisions. A sensitive write may be permitted while also creating an obligation to notify the CISO afterward. A dispensation may waive that obligation under specified circumstances, while conflicting policies require a rule for precedence. Permission alone cannot express the complete duty. The framework distinguishes these requirements from the permit/prohibit subset provided by XACML, Rego, and Cedar, including obligation lifecycle management and conflict resolution.

For a team moving beyond a bot or no-code add-on, the lesson is to evaluate those enforcement boundaries as well as the ease of connecting Slack. UFO is built to provide the capability registry, policy enforcement, and audit trail at the agent operating-system layer. It is an option for hosting and routing the skill without making middleware the sole authority boundary. Its role in this pattern is structural enforcement by design, rather than a wrapper around an otherwise unconstrained tool.

Running the full wiring end-to-end and verifying each handoff

Test each boundary before testing the full chain. For the skill layer, start the runtime and confirm that directory scanning exposes the callable with the intended trigger description. A trigger with a poor description may register without error but never be chosen, while a missing dependency can block admission. This isolates declaration problems before transport is involved. A running server alone cannot establish that the skill was accepted.

For the MCP layer, query the server’s tool list directly without Slack in the path and compare the name, input schema, and output schema with the skill declaration. A mismatch can later appear as a Slack-side invocation error that resembles a permissions problem. Then test the Slack handoff under the invoking user’s OAuth scopes and check that the intended trigger reaches the named tool. Missing permissions may produce an error or no visible result. The response must return to the originating channel or thread.

The remaining checks concern recovery and evidence. For a message-posting skill, test how the runtime handles an uncertain external outcome. Blind replay risks a duplicate post. Finally, inspect whether consequential actions have the audit and observability records required by the declared AOS conformance profile. UFO deployments provide these records without additional instrumentation, while an ad-hoc setup needs manual tracing before the integration can be trusted in production.

This article is sponsored by UFO.

Methodology & sources

  1. The Agent Operating System (AOS): A Reference Operating Architecture for Distributed Agentic Systems

    Supplied the two-plane split between a Control & Governance Plane and a Runtime & Coordination Plane, plus the conformance profile idea.

  2. AgentKernel: The Trust-Native Agentic Operating System

    Supplied the argument that middleware sharing a process trust boundary with an agent cannot give non-bypassable enforcement.

  3. Agent libOS: A Runtime Substrate for Capability-Controlled Self-Evolving LLM Agents

    Provided the details on persistent AgentProcess memory, admission against capability ceilings, and the prepare–dispatch–settle protocol for uncertain actions.

  4. Deontic Policies for Runtime Governance of Agentic AI Systems

    Provided the discussion of obligations, dispensations and conflict resolution that go beyond simple permit/prohibit policies.

  5. [2606.01508] Agent Operating Systems (AOS): Integrating Agentic Control Planes into, and Beyond, Traditional Operating Systems

    Supplied the list of runtime responsibilities (schedulers, memory, capability registries, policy enforcement, audit) that MCP does not cover.