Skip to content
Last9
Book demo

Last9 plugins and agent skills

Install Last9 plugins or individual skills for log, trace, CloudWatch, and Go instrumentation workflows.

The Last9 AI Toolkit provides plugins and skills for coding agents. A plugin bundles skills for a client. Each skill contains instructions for a specific task, such as selecting a service, discovering fields, querying telemetry, and checking the result.

For example, the logs skill tells the agent to confirm the fields available for the selected service. It then uses counts or other summaries to find a pattern before inspecting matching records. The Last9 MCP server supplies the tools that run the queries.

Choose a skill

SkillUse it forWhat it guides
last9-logsInvestigating errors and log patternsSelect the service, discover attributes, summarize patterns, and inspect matching records.
last9-tracesInvestigating latency, errors, or a specific traceConfirm the service, environment, time, and symptom, then discover fields before building a query.
last9-cloudwatchInvestigating AWS metrics already ingested into Last9Identify the AWS resource and metric statistic, query the selected resource, and distinguish missing data from a measured zero.
go-agent-installAdding Last9 instrumentation to a Go applicationInspect the module and framework, check for existing OpenTelemetry instrumentation, configure supported instrumentation, and verify spans.

CloudWatch investigations cover Billing, RDS/Aurora, ElastiCache, MSK, DynamoDB, EC2, SQS, DMS, KMS, and S3. The CloudWatch skill queries data in Last9, and AWS ingestion setup is a separate step. See AWS CloudWatch metrics to send the metrics to Last9.

Install the toolkit

Choose the plugin for your client, or install individual skills with the skills CLI. The Claude Code and Codex plugins bundle the four skills listed above. Connect Last9 MCP separately after the setup.

Add the marketplace and install its Last9 plugin:

claude plugin marketplace add last9/ai-toolkit
claude plugin install last9@last9-ai-toolkit

The plugin bundles the four skills listed above.

Connect Last9 MCP

The logs, traces, and CloudWatch skills require an authenticated Last9 MCP connection in the same agent session. See Last9 MCP setup for your client, and check your connection settings on the MCP page in Last9.

Installing a skill or the Claude Code or Codex plugin does not authenticate the client or give it access to telemetry. If the agent cannot find the required tools, check the MCP connection before starting the investigation.

Run an investigation

Ask your agent to use the installed skill and provide the service or resource and time window it needs. Replace the example resources with your own.

Find a log error pattern

Use the last9-logs skill to investigate errors for checkout-api
in production over the last 30 minutes. Discover the fields in
the selected service, summarize the main error patterns, and show evidence
for the most frequent pattern.

Check that the agent confirms the service and field names before applying filters. Review whether the result is a count of all matching records or a sample of individual records.

Investigate a slow request

Use the last9-traces skill to investigate slow requests for
checkout-api in production between 14:00 and 14:30 UTC on
2026-09-10. Start by confirming the available attributes, then
find representative slow traces and explain which operations
account for the delay.

If you have a trace ID, include it to narrow the investigation. The agent may ask for missing service, environment, or time details.

Investigate an AWS resource

Use the last9-cloudwatch skill to inspect CPU and query latency
for my RDS instance over the last hour. Confirm the Last9 data
source, AWS account, region, and instance before querying.
State the metric statistics, units, and any missing data.

A CloudWatch resource may have no application service label or APM instrumentation. Identify the AWS resource using the dimensions returned by queries and the account and region in its integration settings.

Instrument a Go service

Run the instrumentation skill from your Go application repository:

Use the go-agent-install skill to inspect this Go service and
add Last9 tracing. Check the framework and existing OpenTelemetry
instrumentation before making changes. Show how to verify a
request appears in Last9.

The skill supports automatic wiring for chi and provides manual integration guidance for other frameworks. Review the resulting code changes and instrumentation settings, then generate a request and confirm that its spans reach Last9.

Verify the result

Skills guide model behavior. They do not replace the client’s permissions, approval controls, or your review of the output.

Before using an investigation result, review the following details:

  • Confirm that the agent called the Last9 tools with the intended service, resource, and time window.
  • Open returned evidence links and inspect their queries and time windows.
  • Check whether a result was sampled, incomplete, or blocked by a tool error.
  • Keep a proposed explanation separate from a confirmed cause.

For a complete workflow, see Investigate an incident with AI. To embed Last9 tools in your own agent, see Build your own AI SRE on Last9 data.


Troubleshooting

ProblemNext step
The agent does not recognize a skillCheck that you installed it for that agent and that the agent can see it in the current session.
The skill is available but Last9 tools are missingConnect and authenticate Last9 MCP in the same client.
The agent guesses a field or service nameAsk it to use discovery tools and the returned names before retrying the query.
CloudWatch metrics are not foundConfirm ingestion, data source, account, region, and resource; do not assume every exporter uses the same metric names.
Go instrumentation already existsHave the agent inspect the existing setup before adding another provider or middleware.

Please get in touch with us on Discord or Email if you have any questions.