Agent skill

test-task-env-check

Check CLAUDE_CODE_TASK_LIST_ID environment variable in forked skill

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/test-task-env-check

SKILL.md

Test: Environment Variable Propagation

Objective: Check if CLAUDE_CODE_TASK_LIST_ID is visible in forked skill context.

Instructions

  1. Check the CLAUDE_CODE_TASK_LIST_ID environment variable
  2. List current tasks
  3. Create a task with a unique identifier
  4. Write results to output file

Output

Write to: earnings-analysis/test-outputs/task-env-check-result.txt

Format:

TEST: task-env-check (forked skill)
TIMESTAMP: {ISO timestamp}

ENVIRONMENT:
CLAUDE_CODE_TASK_LIST_ID: {value or "NOT SET"}

TASK LIST BEFORE:
{output from TaskList}

CREATED TASK:
Subject: "ENV_TEST_FROM_FORK_{random-id}"
Task ID: {id}

TASK LIST AFTER:
{output from TaskList}

CONCLUSION: {findings}

Return a summary of findings.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results