Index of every page on this site: llms.txt
All skills
masheev avatar

/masheev-automations

@21d3a39
by masheevmasheev/skills1 stars
Run it yourself

Use when building automation rules and workflows in Masheev. Covers triggers (conversation.created, message.created, SLA breach, time-based), conditions (equals, contains, greater_than), and actions (set status, assign, add labels, send responses, trigger AI, webhook calls, notifications). Also covers the workflow builder with AI invoke steps, action steps, conditional steps, and delay steps. Use this skill when someone asks to "automate conversations", "set up rules", "auto-assign", "auto-resolve", "trigger AI", or "build a workflow" in Masheev.

Use this Skill: https://skilld.dev/gh/masheev/skills/masheev-automations

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈143 tokens for metadata: the name and description. ≈802 when used: this file. ≈1.4k more on demand in 1 file.

Description uses 7.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈574 characters, or 7.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Masheev Automations

Automations run server-side rules that react to events in Masheev. They consist of triggers, conditions, and actions.

Quick Start

import { apiClient } from "@masheev/client/server";

await apiClient.automations.create.mutate({
  name: "Auto-assign VIP contacts",
  trigger: "conversation.created",
  conditions: [
    { field: "contact.customAttributes.plan", operator: "equals", value: "enterprise" },
  ],
  actions: [
    { type: "set_priority", value: "high" },
    { type: "assign_to", assigneeType: "agent", assigneeId: "agt_..." },
    { type: "add_label", labelId: "label_vip" },
  ],
});

Triggers

Trigger When
conversation.created New conversation starts
conversation.updated Conversation status/priority/assignment changes
conversation.assigned Conversation assigned to agent/AI
message.created New message in any conversation
sla.warning SLA warning threshold reached
sla.breach SLA breached
time.schedule Cron-based scheduled trigger

Conditions

Operator Description Example
equals Exact match channel equals "whatsapp"
not_equals Not equal status not_equals "resolved"
contains String contains content contains "urgent"
matches Regex match email matches "@enterprise.com$"
greater_than Numeric comparison messageCount greater_than 10
less_than Numeric comparison priority less_than "high"
is_set Field has a value assigneeId is_set

Actions

Action Description
set_status Change conversation status (open, pending, resolved)
set_priority Set priority (low, medium, high, urgent)
assign_to Assign to agent, AI, or unassign
add_label / remove_label Tag management
send_canned_response Send a pre-written message
send_template Send a channel template (WhatsApp, email)
add_note Add internal note
snooze Snooze conversation for a duration
trigger_ai Hand to AI agent
stop_ai Take back from AI
webhook Call external URL (GET/POST with headers/payload)
notify Send notification (email, Slack, in-app)

Managing Automations

// List
const rules = await apiClient.automations.list.query({});

// Activate/deactivate
await apiClient.automations.activate.mutate({ id: "rule_...", active: false });

// View execution history
const runs = await apiClient.automations.listRuns.query({ automationId: "rule_..." });

// Pre-built templates
const templates = await apiClient.automations.listTemplates.query();

Workflow Builder

For complex multi-step automations, use the workflow builder (see masheev-workflows skill for client-side workflows). Server-side workflows support:

  • AI invoke steps — Generate text/objects with tools
  • Action steps — Execute platform skills
  • Conditional steps — Branch based on conversation state
  • Delay steps — Wait before next action

See references/templates.md for pre-built automation templates.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning7mo3 checks · Risk SAFE
  • Gen Agent Trust Hub7mo

    The skill provides instructions and code templates for automating workflows in the Masheev platform. It uses the official @masheev/client library. A low-severity security surface for indirect prompt injection exists because the automation rules process external conversation and message data to trigger actions like webhooks, notifications, or AI text generation without explicit sanitization or boundary markers.

  • Socket7mo

    1 alert: gptAnomaly

  • Snyk7mo

    Risk: LOW · No issues

Signed by skilld at 21d3a39. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 7 months ago
metadata
{
  "author": "masheev",
  "version": "0.1.0"
}

README badge

README badge for masheev/skills/masheev-automations