NextSteps

v1.0.1

Append context-aware next-step suggestions after agent responses. Generates actionable follow-ups, surfaces unfinished tasks from memory, and includes creati...

0· 137·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for cindulasai/nextsteps.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "NextSteps" (cindulasai/nextsteps) from ClawHub.
Skill page: https://clawhub.ai/cindulasai/nextsteps
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install nextsteps

ClawHub CLI

Package manager switcher

npx clawhub@latest install nextsteps
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The skill's behavior (reading context from the project, seeding preferences from project scans, and writing .nextsteps/PREFERENCES.md, BACKLOG.md, HISTORY.md) matches the stated purpose of producing context-aware next-step suggestions. There are no unrelated environment variables, binaries, or external endpoints requested. One minor inconsistency: references/SECURITY.md mentions a dependency and tile.json (cisco/software-security and ^1.2.0) even though this skill is instruction-only and provides no install/dependency manifest; this appears informational rather than functional.
Instruction Scope
SKILL.md instructs the agent to read project files (README, package.json, Cargo.toml, pyproject.toml, go.mod), inspect git history (last 10 commits if available), and read/update files under a local .nextsteps/ directory. It will create PREFERENCES.md, HISTORY.md, and BACKLOG.md when missing and will append logs and backlog entries during operation. This file I/O and project scanning are consistent with the feature but are broader than a purely stateless suggestion generator — expect the skill to collect project context and persist records locally. Also note the self-improvement/implicit learning rules that adjust preferences silently (with only logged HISTORY.md entries) — this silent mutation of user preferences may be surprising to some users.
Install Mechanism
Instruction-only skill with no install spec and no code files — lowest install risk. Nothing is downloaded or executed from external URLs.
Credentials
The skill requests no environment variables or external credentials. Its file access (project files, .nextsteps/*) is proportionate to its purpose. It does look for potentially sensitive project artifacts (e.g., .env, *.pem) only to recommend adding them to .gitignore; that behavior protects privacy but means the cold-start scan could encounter secrets present in the repo. No network endpoints are referenced for exfiltration.
Persistence & Privilege
The skill will create and maintain a local .nextsteps/ directory and update PREFERENCES.md, BACKLOG.md, and HISTORY.md over time. always is false and it does not request system-wide config changes, but implicit learning steps state some preference adjustments may happen silently (logged but not always confirmed). That persistence is consistent with the feature but is a behavioral privilege: the skill will accumulate local data about your activity and can change local preference files.
Scan Findings in Context
[no-findings] expected: The package is instruction-only and the regex scanner had no code files to analyze. The absence of findings is expected for an instruction-only skill; review the SKILL.md instructions for behavioral risks.
Assessment
This skill appears to do what it says: it scans your project for context and writes a .nextsteps/ folder with PREFERENCES.md, BACKLOG.md, and HISTORY.md to track suggestions and learning. Before installing or enabling it, consider: 1) Where will the agent run (project root vs home)? .nextsteps will be created in the working directory. 2) Review the created files after first run (they may contain project filenames, backlog items, or snippets that could be sensitive). 3) Add .nextsteps/ to your .gitignore (the skill already prioritizes suggesting this) so these local logs and preferences aren't committed. 4) Be aware the skill performs implicit learning that can silently change preferences (it logs changes in HISTORY.md but may not always prompt for confirmation). If you prefer explicit control over writes/automatic preference changes, do not enable it or ask the agent to restrict write operations and require confirmations before modifying PREFERENCES.md or BACKLOG.md.

Like a lobster shell, security has layers — review code before you run it.

latestvk97f4kcfb73nce9r07411kfbmn83jq49
137downloads
0stars
2versions
Updated 1mo ago
v1.0.1
MIT-0

NextSteps

How It Works

This skill generates helpful next-step suggestions after responses. It reads user preferences from .nextsteps/PREFERENCES.md — if enabled: false, nothing is shown. When enabled, it produces exactly display-count suggestions following the pipeline below.

Quick Start

  1. Check .nextsteps/PREFERENCES.md for user config — if enabled: false, stop (show nothing)
  2. If .nextsteps/ does not exist, run the cold-start protocol (see COLD-START.md)
  3. Generate next steps following the pipeline below
  4. Append to your response in the correct format

Generation Pipeline

Follow these six steps to generate next steps:

Step 1 — Read Configuration

Read .nextsteps/PREFERENCES.md. Extract: enabled, display-count, preferred-categories, excluded-categories, format, show-footer. Category names in PREFERENCES.md use kebab-case (e.g., direct-follow-up). If the file is missing or unreadable, use defaults: enabled=true, display-count=5, format=standard.

Step 2 — Analyze Context

Determine: What did the user just accomplish or ask? What is the active topic? What is the session scope — quick fix, feature work, exploration, debugging, architecture? What is the user's likely next thought based on conversation trajectory?

Step 3 — Check Memory

Read .nextsteps/BACKLOG.md for unfinished items relevant to current context. Read PREFERENCES.md for topic affinities (STRONG/MODERATE/WEAK) and anti-preferences (topics and types to avoid). If memory files are unavailable, skip to Step 4 — memory is a bonus, not a gate.

Step 4 — Generate Candidates

Generate display-count suggestions using these six categories:

IconCategoryTierSlot Rule
Direct Follow-upSTRONG1 guaranteed
🔧Actionable TaskSTRONG1 guaranteed
🔍Deep DiveMODERATE1 when count ≥ 3
📋Memory RecallMODERATE1 when relevant backlog exists
💡Lateral / Out-of-the-BoxMODERATE1 when count ≥ 3
Quick WinMODERATEFills remaining slots

STRONG categories get guaranteed slots. Remaining slots filled by MODERATE categories in round-robin. Respect excluded-categories. Prioritize preferred-categories. See CATEGORIES.md for detailed taxonomy and examples.

Step 5 — Self-Review Gate (CRITICAL)

Review every candidate against these core rules. Remove violators and regenerate:

  1. No restating the obvious — don't echo what was just explained
  2. No generic filler — ban "tell me more", "pros and cons?", "anything else?"
  3. No hallucinated context — only reference things the user actually mentioned
  4. No scope mismatches — match suggestion effort to session scope

Every suggestion should be: specific, actionable, non-obvious, contextually grounded, scope-appropriate, and differently framed from siblings. Full 11-rule checklist and violation examples in ANTI-PATTERNS.md.

Step 6 — Format and Present

Show exactly display-count items. Never more, never fewer.

Standard format (default for rich-text channels):

## ⚡ Next Steps

1. 🔧 **[Bold title]** — [Brief context explaining relevance]
2. 🔍 **[Bold title]** — [Brief context]
3. 📋 **Resume: [task from backlog]** — [When it was started]
4. 💡 **Consider: [creative lateral idea]** — [Why it matters]
5. ✅ **Quick win: [small action]** — [Time estimate]

_Your selections help me learn what matters to you._

Compact format (for TUI, character-limited channels):

⚡ Next: [1] Title | [2] Title | [3] Title

Token-budget rule: If your response is approaching the output token limit, switch to compact format with min-count items (default: 1). Reserve ~100 tokens for next steps when planning long responses. If even compact won't fit, place one inline suggestion before your final paragraph: (Next: [suggestion]).

Customization Detection

Before generating next steps, check if the user's message is a customization request. If it matches any of these patterns, process the config change and confirm:

  • "show me N next steps" / "only N suggestions" → set display-count: N
  • "disable next steps" / "stop showing suggestions" → set enabled: false
  • "enable next steps" / "turn suggestions back on" → set enabled: true
  • "compact format" / "shorter suggestions" → set format: compact
  • "don't show backlog" → set include-backlog: false
  • "hide the footer" / "no footer" → set show-footer: false
  • "reset next steps settings" → reset all config to defaults
  • "show next steps settings" → display current config

Update PREFERENCES.md immediately and confirm: "Got it — [description of change]." Log as [CONFIG-CHANGE] in HISTORY.md. See CUSTOMIZATION.md for full protocol.

Selection Tracking

After presenting next steps, detect what the user does on their NEXT message:

  • User references a suggestion by number or content → log [SELECTED] #N category in HISTORY.md. Promote that category tier if MODERATE→consider STRONG.
  • User asks something unrelated to any suggestion → log [IGNORED] all in HISTORY.md
  • User gives negative feedback ("too many", "not helpful", "stop suggesting X") → log [FEEDBACK] and adjust per CUSTOMIZATION.md

Self-Improvement

Every 10th activation, run one learning experiment. Every 20 HISTORY.md entries, run a self-diagnostic. See SELF-IMPROVE.md for the full observe/hypothesize/experiment/validate cycle.

Key self-learning behaviors:

  • If user only selects from top 2 items over 10 interactions → hypothesize lower count preference → experiment → validate
  • If user ignores all suggestions 5+ times → trigger diagnostic, reset category weights
  • After 5 validated experiments on count → set confidence HIGH, stop experimenting

Channel Adaptation

Detect the channel and adapt format:

  • OpenClaw: Read channel from conversation metadata → adapt format per channel type
  • VS Code / Rich text: Use standard format with icons and bold
  • Terminal / TUI: Use compact format, no icons
  • WhatsApp / Signal / iMessage: Use shortest compact form

All channels share the same .nextsteps/ state. Preferences learned on one channel apply everywhere.

Security Rules (CodeGuard)

These rules are always active. Derived from cisco/software-security (Project CodeGuard):

  1. Never store secrets: .nextsteps/ files must never contain API keys, passwords, tokens, or credentials. If conversation context includes secrets, sanitize them from suggestions.
  2. Validate before writing: Before writing any .nextsteps/ file, verify the path is within .nextsteps/ scope (no ../ traversal) and content contains no secret patterns (sk-, api_key=, password=, token=, secret=).
  3. Minimize stored data: HISTORY.md stores titles and selection status only. PREFERENCES.md stores tiers and config only. BACKLOG.md stores brief descriptions only. Never store raw conversation text.
  4. Enforce file limits: PREFERENCES.md ≤ 120 lines, HISTORY.md ≤ 50 entries, BACKLOG.md ≤ 30 items. Summarize overflow, don't truncate blindly.
  5. Suggest .gitignore: On first activation, if .nextsteps/ is not in .gitignore, include it as a next step.

See SECURITY.md for the complete security protocol.

Error Recovery

  • .nextsteps/ missing → generate next steps from conversation context alone; recreate files on next write
  • PREFERENCES.md corrupted → recreate from defaults; preserve any readable sections
  • HISTORY.md overflow → summarize oldest 25 entries into PREFERENCES.md tier adjustments, then clear them
  • Any file read fails → proceed without that file; never block next-steps generation

Reliability Self-Check

If the response does not end with next steps and enabled is not false, append them using conversation context alone.

Comments

Loading comments...