askill
create-context

create-contextSafety 85Repository

Create baseline context from .in/ folder with manifest-driven organization (run once per project). Use when bootstrapping project context, setting up .ctx/ snapshot. Triggers include "create context", "bootstrap context", "setup context", "init context".

5 stars
1.2k downloads
Updated 3/16/2026

Package Files

Loading files...
SKILL.md

Create Context

Bootstrap project context from .in/ folder → .ctx/ snapshot + baseline + RISEN INPUT table.

Folder Architecture

  • .in/: Immutable bootstrap (user dumps raw docs, never modified by commands)
  • .ctx/: Actionable snapshot (generated: manifest + summaries + copied files)

Steps

1. Prerequisites

[ -d .in/ ] || error "No .in/ folder found. Create it and add source files first."
[ -d .ctx/ ] && [ "$1" != "--force" ] && error ".ctx/ exists. Use --force to recreate."

Skip security-sensitive files: .env*, *credentials*, *secrets*, *token*, *.key, *.pem, *.crt

2. Scan & Prioritize

  1. Glob: .in/**/*.{md,txt,csv,yaml,json}
  2. AskUserQuestion per file: HIGH / MEDIUM / LOW + brief description

3. Create .ctx/ and Generate Manifest

Write .ctx/manifest.yaml — see reference.md for schema.

4. Context Sizing & Copy

Token estimation: tokens ≈ words / 0.75 (via wc -w)

Priority≤ threshold> threshold, ≤25K> 25K
HIGH≤1500 → inlinesummarize directlysummarize via sub-agent
MEDIUM≤2500 → inlinesummarize directlysummarize via sub-agent
LOWreference only

Copy HIGH/MEDIUM files to .ctx/, preserving subdirectory structure.

5. Summarize (if needed)

  • Direct: Read + generate ~500 token summary → .ctx/{nn}-{basename}-summary-llm.md
  • Sub-agent: Task(summarize-for-context) for files >25K tokens

6. Write Baseline

Create CONTEXT-baseline-llm.md with inline content + summary refs + LOW references. Target: ≤2000 tokens.

7. Output

Report: file counts, RISEN INPUT table, suggest /save-context baseline.

See reference.md for manifest schema, baseline template, and validation rules.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

75/100Analyzed 3/2/2026

Well-structured skill for bootstrapping project context from .in/ to .ctx/ folders with manifest-driven organization. Includes clear trigger phrases, step-by-step instructions, token-based sizing tables, and security filtering. References external reference.md for complete schemas which slightly reduces standalone completeness. Bonus for tags (llm, security), structured steps, and high-density technical content.

85
80
65
65
75

Metadata

Licenseunknown
Version-
Updated3/16/2026
Publisherdigital-stoic-org

Tags

llmsecurity