Agent skill

Composing Context

by friday-platform in friday-platform/friday-studio

Internal pattern guide for composing turn-local retrieval-gated context into a synthetic user-message preface.

Custom licenceAuto-check passedAI & LLM Engineering

Install Composing Context

skills CLI
$ npx skills add friday-platform/friday-studio --skill composing-context -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install friday-platform/friday-studio composing-context --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/friday-platform/friday-studio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/system/skills/composing-context .claude/skills/composing-context && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
composing-context
GitHub stars
104
Token cost
~1.6k tokens
SKILL.md length
668 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
Custom licence

At a glance

Internal pattern guide for composing turn-local retrieval-gated context into a synthetic user-message preface.

  • Works in 3 steps: Pre-load: chat supervisor builds Block 4… → FSM type: llm action: same shape,… → On-demand mid-turn retrieval…
  • Tasks that involve Codebase knowledge for agents
  • SKILL.md covers Why a synthetic preface and…, The helper: composePreface, Three call patterns and Rules for callers
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Composing Context is an agent skill from friday-platform/friday-studio. Internal pattern guide for composing turn-local retrieval-gated context into a synthetic user-message preface. Documents the composePreface helper in @atlas/core/agent-context/compose-preface. Loaded by infrastructure code that assembles per-turn LLM input — not user-invocable.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Codebase knowledge for agents. The repository describes itself as: Agent Harness Platform — shareable workspaces, MCP tools, skills, memory, and cron/webhook automations. Self-hosted and transparent.

When your agent uses it

  • Tasks that involve Codebase knowledge for agents

Example prompts

  • “/composing-context”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Pre-load: chat supervisor builds Block 4 from current state
  2. FSM type: llm action: same shape, prepended to action prompt
  3. On-demand mid-turn retrieval (forward-looking)

What it can do on your machine

Read from SKILL.md and the folder at commit fb3069a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Composing Context loads about 1.6k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 668 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 668 words (~1,568 tokens).

“This skill documents the synthetic user-message preface pattern used by Friday's chat supervisor and FSM type: llm actions to surface turn-local retrieved content (artifacts, narrative memory, temporal facts, future on-demand retrieval) to the model.”

— opening of SKILL.md by friday-platform, Custom licence
name
composing-context
user-invocable
false

Read the full SKILL.md on GitHub

Files

Just SKILL.md in packages/system/skills/composing-context of friday-platform/friday-studio.

Open the folder on GitHubat commit fb3069a

Compare with similar skills

Composing Context next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Composing Context compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Composing Context this skillfriday-platform/friday-studio104—~1.6kAutomated safety check: PassCustom licence
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
Visiongridaco/grida2.7k—~1.5kAutomated safety check: PassApache-2.0
Microsoft Agent Frameworkmanagedcode/dotnet-skills486—~4kAutomated safety check: PassMIT
Lumen Doctorory/lumen305—~339Automated safety check: PassCustom licence
Microsoft Extensions AImanagedcode/dotnet-skills486—~3.4kAutomated safety check: PassMIT

Similar skills

  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Vision

    gridaco/grida

    Query images with a local Ollama vision model without loading the image into the main agent context.

    2.7k GitHub stars~1.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Microsoft Agent Framework

    managedcode/dotnet-skills

    Build .NET AI agents, harnesses, and multi-agent workflows with Microsoft Agent Framework using the right agent type, sessions, tools, workflows, hosting protocols, and enterprise guardrails.

    486 GitHub stars~4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Lumen Doctor

    ory/lumen

    Checks the Lumen semantic search setup for the current project: embedding service reachability, index freshness and storage totals, with remediation notes.

    305 GitHub stars~339 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Microsoft Extensions AI

    managedcode/dotnet-skills

    Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation.

    486 GitHub stars~3.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Semantic Kernel

    managedcode/dotnet-skills

    Build AI-enabled .NET applications with Semantic Kernel using services, plugins, prompts, and function-calling patterns that remain testable and maintainable.

    486 GitHub stars~2.8k tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from friday-platform/friday-studio

All 20 skills in this repo
  • Authoring Skills

    friday-platform/friday-studio

    Authors new agent skills that follow the Anthropic + agentskills.io specification.

    104 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Friday CLI

    friday-platform/friday-studio

    Interacts with a running Friday daemon via CLI and HTTP — lists/creates/modifies workspaces, triggers signals, watches sessions, publishes skills and agents.

    104 GitHub stars~4.3k tokensUpdated 1 mo ago
    Auto-check: notes
  • Workspace API

    friday-platform/friday-studio

    Create, list, update, delete, and clean up workspaces via the daemon HTTP API at $FRIDAYDURL.

    104 GitHub stars~9.3k tokensUpdated 1 mo ago
    Auto-check: notes
  • Writing Workspace Signals

    friday-platform/friday-studio

    Authors Friday workspace signals with correct provider configs, payload schemas, and runtime wiring.

    104 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Composing Emails

    friday-platform/friday-studio

    General styling and tone guidelines for composing HTML emails.

    104 GitHub stars~648 tokensUpdated 1 mo ago
    Auto-check passed
  • Repairing Workspaces Agents

    friday-platform/friday-studio

    Repairs and upgrades existing Friday workspaces, jobs, user agents, and generated agents to current runtime contracts.

    104 GitHub stars~3k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Composing Context

What does Composing Context do?

Internal pattern guide for composing turn-local retrieval-gated context into a synthetic user-message preface. Composing Context is an agent skill from friday-platform/friday-studio. Internal pattern guide for composing turn-local retrieval-gated context into a synthetic user-message preface.

When should I use Composing Context?

Composing Context fits situations like: tasks that involve Codebase knowledge for agents.

How do I install Composing Context in Claude Code?

Run `npx skills add friday-platform/friday-studio --skill composing-context -a claude-code`. Or copy the skill folder (packages/system/skills/composing-context in friday-platform/friday-studio) into .claude/skills/composing-context in your project. Claude Code loads it when a task matches its description.

How do I install Composing Context in Codex?

Run `npx skills add friday-platform/friday-studio --skill composing-context -a codex`. Or copy the skill folder (packages/system/skills/composing-context in friday-platform/friday-studio) into .agents/skills/composing-context in your project. Codex loads it when a task matches its description.

Can I use Composing Context in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add friday-platform/friday-studio --skill composing-context -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/composing-context, .gemini/skills/composing-context, .github/skills/composing-context and .opencode/skills/composing-context in your project.

What does Composing Context need to run?

SKILL.md names no scripts, command-line tools or credentials: Composing Context is instructions for the agent only.

Does Composing Context access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Composing Context safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Composing Context use?

Composing Context has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Composing Context use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Composing Context?

Skills that share tags, products or a category with Composing Context: Codebase Management (giancarloerra/SocratiCode, 3.3k stars), Vision (gridaco/grida, 2.7k stars), Microsoft Agent Framework (managedcode/dotnet-skills, 486 stars) and Lumen Doctor (ory/lumen, 305 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Composing Context?

friday-platform (a GitHub organization) maintains it in friday-platform/friday-studio, which has 104 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 5, 2026.

Source: friday-platform/friday-studio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.