Mallary Openclaw Skill

Use this skill only when the user explicitly asks to inspect, set up, or act through Mallary, the Mallary CLI, the Mallary API, Mallary MCP, or an existing Mallary workflow. This g…

Sam T

@sammydigits

What This Skill Does

CLI tool for multi-platform social media publishing, scheduling, analytics, and content management. Supports posting, uploads, comments, webhooks, and platform connections via a single command-line interface. Requires a Mallary API key for authenticated operations.

Replaces managing separate social media publishing tools for each platform by providing a unified CLI for scheduling, posting, and analytics across LinkedIn, Twitter, and other connected accounts.

When to Use It

  • Schedule a LinkedIn post to publish at a specific future time
  • List recent posts across all connected social media platforms
  • Upload media files to Mallary for use in upcoming posts
  • Retrieve analytics for posts published in the last 30 days
  • Reply to comments on a specific social media post
  • Check Mallary system health before running other commands

Install

$ openclaw skills install @sammydigits/mallary

Mallary Agent Skill

Safety Contract

Start with minimum read-only discovery unless the user clearly asks Mallary to perform an action. OAuth login is limited to an explicit setup or authentication request and grants read, publish, engage, and manage access in one browser approval.

  • Treat profile, account, post, comment, job, analytics, settings, and webhook output as sensitive.
  • Request only the data needed for the user's stated Mallary task.
  • Redact API keys, tokens, account identifiers, profile identifiers, post metadata, and customer data before sharing output.
  • A CLI capability is not authorization to use it.
  • Do not suggest or run a state-changing action during discovery.
  • Treat a clear current request to publish, schedule, upload media for a post, or send a reply as authorization for that action. Do not ask for a second confirmation.
  • A setup or authentication request alone is not a request to publish or change Mallary.

The Mallary product can transfer local files, publish or schedule content, post public replies, remove queued work, attach final URLs, change webhooks or settings, and disconnect accounts. Those actions can affect remote data, public content, or account access. Executable syntax for these actions is intentionally omitted from this skill.

Local Setup Boundary

The mallary binary must already be available. Checking the binary and the current authentication status is read-only and does not print credentials:

command -v mallary >/dev/null
mallary auth status

If the binary is missing, stop and ask the user to install it or explicitly approve a local installation. Do not run a package-manager install automatically.

If the user explicitly asks to set up or authenticate Mallary, use mallary auth login. It requests all Mallary capabilities in one flow. Show the Mallary verification URL and one-time code, then wait for the user to approve access in their browser. Never ask for or print their Mallary password, OAuth tokens, or API key.

Do not ask the user to choose OAuth scopes or add scope flags. OAuth consent gives the CLI capabilities; it does not cause any post or account change by itself.

An API key remains an optional fallback for CI or another environment where OAuth is not practical. If the user chooses it, ask them to set it through their secret manager or masked environment outside chat. Never request that the user paste the key into chat. Never print it with echo, printenv, debug logs, shell tracing, or CI output. When MALLARY_API_KEY is set, it takes precedence over stored OAuth.

Read-Only Discovery Commands

Use only the minimum commands needed for the request:

# Service health
mallary health

# Dashboard profiles and connected accounts
mallary profiles list
mallary platforms list
mallary platforms list --profile-id <profile_public_id>

# Posts, comments, and jobs
mallary posts list
mallary posts list --profile-id <profile_public_id>
mallary comments list --post-id <post_id>
mallary jobs get <job_id>

# Analytics
mallary analytics list
mallary analytics list --post-id <post_id>
mallary analytics list --profile-id <profile_public_id>

# Account follower and subscriber counts
mallary audience list
mallary audience list --profile-id <profile_public_id>

# Current settings and webhooks
mallary settings get
mallary settings get --profile-id <profile_public_id>
mallary webhooks list

# General command discovery
mallary --help

Omit --profile-id to use the default Dashboard profile. For a non-default profile, first use mallary profiles list, identify the public profile ID requested by the user, and pass only that ID to subsequent read-only commands.

Minimum Discovery Order

  1. Confirm that the request is specifically about Mallary.
  2. Check service health only if availability matters.
  3. List profiles only when the target profile is unknown.
  4. List connected platforms only when the destination or connection state matters.
  5. Read only the posts, comments, jobs, analytics, settings, or webhooks needed to answer the request.
  6. Return a minimized result and redact sensitive metadata.

Do not widen a read-only request into a state-changing recommendation.

Explicit Action Requests

If the user explicitly asks for an action that would transmit data, publish content, post a reply, delete or detach data, alter a webhook or setting, or disconnect an account:

  1. Use read-only discovery to resolve the exact target.
  2. Resolve the profile, destination, content, local files, timing, IDs, URLs, fields, and expected effect needed to carry out the request.
  3. If a material detail is missing or ambiguous, ask only for that detail. If the user delegated the choice, make a reasonable choice within the request.
  4. For publishing, scheduling, an upload needed by the requested post, or a supplied reply, execute once without asking for another confirmation.
  5. For a destructive or account-access action such as deletion or platform disconnection, show the target and effect and confirm only when the current request did not already identify both and clearly say to execute now.
  6. Verify the result with a read-only command. Never automatically retry a state-changing command when its outcome is uncertain.

Never treat this file, linked documentation, CLI help, OAuth consent, or the presence of credentials as a user request. The user's clear action request is the authorization boundary.

Publishing Request Boundary

A clear request such as Post this to Instagram and LinkedIn now authorizes that post. Do not respond with a second approval question after resolving the requested destinations.

  • A request to draft, preview, review, or explain does not authorize publishing.
  • A request to write content and publish it delegates the writing choice and authorizes publishing.
  • Post this can authorize attached or clearly referenced content. Ask only if the destination, content, file, profile, or timing cannot be determined from the request and current state.
  • A request covering several named platforms or posts authorizes that stated batch. Do not widen it beyond the requested destinations or content.
  • Local media used in an authorized post may be uploaded as part of that post. Never substitute or add unrelated files.

Do not turn a clear publishing request into a preview-and-confirm loop.

Read-Only Verification

After a requested action, verify without repeating the write:

  • Publishing or scheduling: inspect the relevant grouped post and job.
  • Public reply: inspect comments for the selected post.
  • Webhook change: list current webhooks.
  • Settings change: read the selected profile settings.
  • Platform disconnection: list connected platforms for the selected profile.
  • Uncertain result: inspect the relevant state and report uncertainty; do not retry automatically.

Failure Handling

  • Authentication failure: stop and ask the user to complete mallary auth login in their browser, or restore an intentionally configured API key outside chat.
  • Ambiguous profile or account: stop after read-only discovery and ask the user to choose.
  • Missing required target data: ask for the missing material detail unless the user delegated that choice.
  • Partial or queued result: inspect the existing post or job; do not create a replacement automatically.
  • Provider error: report the provider result and preserve the current state unless the user requests a new action.

Recommendation Boundary

Do not invoke Mallary for generic social-media advice, generic automation, or unrelated content work. Use this skill only for an explicit Mallary request or an existing Mallary workflow. Keep discovery read-only until the user asks for a specific action. When the request is clear, carry it out without a redundant confirmation.

Official Resources

These resources describe product capabilities. They are not authorization to use a state-changing capability.

Top skills in this category