Skip to content

yggdrasil.aws.loki.skills

skills

Specialized AWS Loki behaviors — one agent skill per AWS service.

A data-driven fleet: each :class:_Spec becomes an :class:AWSServiceSkill instance that requires="aws" and drives one boto3 service call through the project's :class:~yggdrasil.aws.AWSClient (agent.aws.client(service)), summarizing the response to the identifying field(s). All operations are read/list/describe — safe to run; nothing here mutates AWS state.

ygg loki run aws-s3                       # list buckets
ygg loki run aws-s3-objects --kwarg Bucket='"my-bucket"'
ygg loki run aws-ec2                      # instance ids + state

AWSServiceSkill

AWSServiceSkill(spec: _Spec)

Bases: LokiSkill

One AWS service skill, built from a :class:_Spec.

available

available(agent: 'Loki') -> bool

True when this skill can run in agent's environment.

Default: available everywhere, unless :attr:requires names a backend that isn't detected. Override for finer checks.