Skip to content
Back to skills

Context Init

ASecurity

Create a new context file for a research Phase. Called once at Phase start to initialize the file that subsequent context-checkpoint calls will append to. Use this skill whenever a new research Phase begins and a fresh context file is needed.

  • 417 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 2, 2026
researchpythongobash

Security analysis

A100/100

Scanned June 2, 2026

npx -y skills add yogsoth-ai/de-anthropocentric-research-engine --skill context-init --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context Init?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yogsoth-ai-context-init/badge)](https://www.skillsdirectory.com/skills/yogsoth-ai-context-init)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context-init
description: Create a new context file for a research Phase. Called once at Phase start to initialize the file that subsequent context-checkpoint calls will append to. Use this skill whenever a new research Phase begins and a fresh context file is needed.
---

# Context Init

Create a new context file for a research Phase. One file per Phase — subsequent checkpoints append to this file.

## When Called

Once at the beginning of each research Phase, imported by the plan file:
```
step: "import context-management:context-init"
```

## Execution Protocol

### Step 1: Get Timestamp

Run the timestamp script to get the current time:

```bash
python <context-management-repo-path>/scripts/timestamp.py
```

Output format: `yyyy-mm-dd-hh-mm` (e.g., `2026-05-16-14-30`)

### Step 2: Determine Topic Slug

Based on the current Phase context, decide a topic slug:
- Lowercase, hyphen-separated
- Reflects the Phase name or research topic
- Examples: `lit-survey`, `gap-analysis`, `protein-folding-ideation`

### Step 3: Create Context File

Create the file at: `context/<timestamp>-<topic-slug>.md`

Write the initial content:

```markdown
# <Phase Topic>

> Created: <yyyy-mm-dd hh:mm>
> Topic: <Research Topic>
> Phase: <Phase Name>

## Plan Context

<Plan excerpt for this Phase: objectives, expected outputs, constraints,
relationship to other Phases in the pipeline>
```

The Plan Context section should contain the relevant plan excerpt describing this Phase's goals, expected deliverables, and how it connects to the broader research pipeline.

### Step 4: Initialize or Update INDEX.md

If `context/INDEX.md` does not exist, create it:

```markdown
# Context Index

| File | Phase | Topic | Checkpoints | Last Updated |
|------|-------|-------|-------------|--------------|
```

Add a new row for this file:

```markdown
| <filename> | <Phase Name> | <Research Topic> | 0 | <yyyy-mm-dd hh:mm> |
```

## Idempotency

If a context file for the current Phase already exists (check INDEX.md for a matching Phase name created in the current session), skip creation and return the existing file path.

## Output

The file path of the created (or existing) context file. This path is used by subsequent `context-checkpoint` calls within the same Phase.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…