activations

Query activation logs to check for errors and view volume

16 stars

Best use case

activations is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Query activation logs to check for errors and view volume

Teams using activations should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/activations-majiayu000/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/activations-majiayu000/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/activations-majiayu000/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How activations Compares

Feature / AgentactivationsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Query activation logs to check for errors and view volume

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Activations

Treasue Data's real time services include digital marketing activations. These are sent to various destinations. This skill can be used to query the database table that stores activations logs for both successful and failed activations, which is a source of useful information for the digital marketer.

# Description

## Requirements

In order to query the activation log we must know the parent segment the customer is interested in. A customer may have a number of parent segments so we must ask them to provide the one they are interested before making a query. A segment ID will be a numeric value like 411671.

The user must also have a correctly configured Treasure Data mcp server to enable the database lookup @treasuredata/mcp-server

In addition the api key with appropriate access to the database table should be available and configured.

## Database

The database name contains the parent segment ID and has this format cdp_audience_394649_rt. This is where you can plug in the parent segment the user gives in the request.

## Activations table

The activation log table is always called activations and is in the Parent Segment real time database.

## Schema

The activations table has the following schema. The format is of the schema below is:

1. Schema column index (example 1)
2. Column name (example time)
3. Query Column name (example time) (generally can be ignored for activations)
4. Data type (string, time, int)

1
time
time
int
2
delivered
delivered
string
--
3
status
status
long
--
4
timestamp
timestamp
long
--
5
activation_type
activation_type
string
--
6
log_time
log_time
long
--
7
journey_name
journey_name
string
--
8
journey_stage_name
journey_stage_name
string
--
9
activation_name
activation_name
string
--
10
rid
rid
string
--
11
error
error
string
--
12
activation_id
activation_id
string
--
13
event_id
event_id
string
--
14
response
response
string
--

For the purposes of making queries and talking about activations with the user here are the meanings of the columns.

time - epoch time of the activation send attempt
delivered - true if successfully sent and false otherwise
status - numeric status code corresponding to http response return codes
timestamp 
activation_type - the text name of the activation. td_webhook_out for example
log_time - 
journey_name - The real time journey this is related to. For example journey_11738
journey_stage_name - The stage of the real time journey. For example journey_stage_15055.
activation_name - Customer's name for the activation. For example first activation_14136
error - When an error occurs the text will be here. For example "AxiosError: Request failed with status code 404"
activation_id - Unique identifier of the activation.
event_id - Unique identifier for the event which triggered the activation.
response - Contains text that was returned from the activation server. This occurs whether or not the request succeeded. Example `{"success":false,"error":{"message":"Token \"c58dd43b-5bbc-4d21-a81a-e8c5643bcc18\" not found","id":""}}` It can be useful to show the response when errors are involved.

## Query tips

If the user does not specify a time range assume the last 24 hours. Use a where clause like `TD_INTERVAL(time, '-1d/now')`
When users are asking "What kind of errors are occuring" focus on unique error status and error texts so they can quickly identify issues.
Provide summary data where appropriate. For example the customer may ask for "Which journeys are triggering the most activations", or "group the number of activations by journey". Use unique and other SQL constructs to make useful aggregations on the data.

Related Skills

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

address-parser

16
from diegosouzapw/awesome-omni-skill

Parse unstructured addresses into structured components - street, city, state, zip, country with validation.

adding-stacks

16
from diegosouzapw/awesome-omni-skill

Use when adding a new framework/stack to create-faster CLI tool - addresses copy-first mentality, incomplete implementations, and missing dependencies

adding-phases

16
from diegosouzapw/awesome-omni-skill

Use this skill to add planned work discovered during execution to the end of the current milestone in the roadmap. This skill appends sequential phases to the current milestone's phase list, automatically calculating the next phase number. Triggers include "add phase", "append phase", "new phase", and "create phase". This skill updates ROADMAP.md and STATE.md accordingly.

adding-persistent-event

16
from diegosouzapw/awesome-omni-skill

Adds a new type of event that gets persisted to the event log. Use this when adding new kinds of write operations to the system or when adding new events to existing code.

adding-localizable-strings

16
from diegosouzapw/awesome-omni-skill

Adds new human-readable strings that are translated into users' languages.

adding-a-new-app-route

16
from diegosouzapw/awesome-omni-skill

Fully wires up a new route with required boilerplate, following this repo's conventions for subapps. Use when user wants to add a new route or app or subapp or page or screen.

add_type

16
from diegosouzapw/awesome-omni-skill

gwexpyに新しい配列型(Array/Series/Field)とコレクションを実装する

add-vault-protocol

16
from diegosouzapw/awesome-omni-skill

Add support for a new ERC-4626 vault protocol. Use when the user wants to integrate a new vault protocol like IPOR, Plutus, Morpho, etc. Requires vault smart contract address, protocol name, and protocol slug as inputs.

add-tts

16
from diegosouzapw/awesome-omni-skill

Adds text-to-speech audio help to a feature using the TTS system. Use when adding voice narration, audio feedback, or spoken instructions to any part of the app.

add-template

16
from diegosouzapw/awesome-omni-skill

Add new UI style template to the ui-style-react project. This skill should be used when users want to add a new style template with HTML/CSS code, create a new preview page, or register a template in the system. Triggers include "add template", "create new style", "add new template", or when users provide HTML code for a new UI style.

add-skill-templates

16
from diegosouzapw/awesome-omni-skill

Add new Agent Skill templates to the meta-agent-skills framework.