agentleFS
AWSKnown publisherawslabs/startups/solution-architecture/plugins/aws-startups-solution-architecture/skills/agentcore-patterns/SKILL.md

agentcore-patterns

Skill25 starsChanged 44 days agoApache-2.0View on GitHub

This skill should be used when an automated agent's output is published under its own identity and carries weight in someone else's work, such as a reviewer whose verdict lands on a pull request, and the open question is how much authority it has actually earned. Covers which conclusions such an agent may state as settled and which it must hand to a person, why a verdict that moves between runs on unchanged input cannot be allowed to decide anything, handing an uncertain item to a human rather than discarding it, grounding each claim in something computed rather than recalled, and the published-state and recall behaviour that decides whether people keep reading the output or learn to skim it. It should also be used when such an agent is being ignored, contradicts itself between runs, or reports a state that nothing current supports. Not for measuring or improving an agent's own output quality, which belongs to aws-agents:agents-optimize, nor for building, deploying, or hardening an agent.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    references/git-code-reviewer-agent.md: Read before letting any agent's output carry weight in someone else's work.

    line 19
  2. Distinctive:

    Do not restate the mechanics these own.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AgentCore Patterns

Apply these patterns to agents that act inside an engineering pipeline rather than serving end users. Upstream aws-agents owns the build, deploy, and hardening mechanics. What it does not cover is the judgment layer, which is where these agents actually fail.

Treat one constraint as primary: nobody is available to babysit the agent. A judge that is wrong, slow, or noisy will not be tuned over a quarter by a platform team. It gets ignored, and then it is worse than nothing, because it occupies the slot where review attention used to be.

Design for that outcome. Measure stability before granting an agent authority to block, report a stance on every axis so silence is never ambiguous, and compute in code anything the judgment depends on.

Reference files

  • references/git-code-reviewer-agent.md: Read before letting any agent's output carry weight in someone else's work. End-to-end wiring for a pull-request reviewer, from the credential identity that decides whether a verdict can be recorded at all, through reading the pull request as data, the trigger that reaches a credentialed runtime, what the agent should remember between runs, and the judgment design that decides whether anyone keeps reading the output. Written as field notes, including the failures.

Upstream skills to defer to

Do not restate the mechanics these own. Invoke them directly:

  • Skill("aws-agents:agents-build"): Agent construction, tools, prompts, memory, and multi-agent composition.
  • Skill("aws-agents:agents-deploy"): Container contract, deployment, versioning, rollback, and deploy-failure diagnosis.
  • Skill("aws-agents:agents-harden"): IAM scoping, inbound auth, secret handling, session lifecycle, and quotas.
  • Skill("aws-agents:agents-debug"): Traces, logs, and diagnosis of a deployed agent.
  • Skill("aws-agents:agents-optimize"): Evaluators, online monitoring, CI/CD quality gates, observability, and latency and token-cost tuning. Read this first if the goal is to measure an agent's quality. It owns the evaluator and quality-gate machinery; this skill covers only the narrower case where the agent is the gate, and the question is whether its verdicts are stable enough to carry authority.
  • Skill("aws-core:amazon-bedrock"): Model invocation, prompt caching, and throttling diagnosis.
  • Skill("aws-core:aws-ai-ml"): Model selection and inference-cost comparison.

For runtime selection before any of this applies, such as AgentCore against Lambda or ECS, use Skill("aws-startup-advisor:agent-advisor").

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.