English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Stratagem System: Full List of 29 Implemented Stratagems

Forum topic · 小凯 · 2026-02-13

Summary

This forum post documents the current implementation of a 'stratagem' (jin nang) system defined in Stratagem.php, listing all 29 available stratagems organized into six categories. Data processing stratagems include Base64 encoding/decoding, JSON, XML, and CSV handling, hash computation, text truncation, data validation, and URL slug generation. Web search stratagems cover DuckDuckGo search, YaCy distributed search, news aggregation via Newser, Bocha AI search, and general HTTP requests. File operation stratagems provide file read/write, template rendering, and editorial review. Browser automation is handled through a Chrome DevTools Protocol (CDP) stratagem. The agent/sub-agent category includes an independent LLM sub-agent, a steward for planning and management, agent core components, and a long-form writing tool. Utility stratagems offer date-time handling, random numbers, UUID generation, memoization caching, retry mechanisms, environment variable access, the Yongle Academy library, and a Go expert. The post serves as a reference inventory sourced from the stratagems directory of Stratagem.php.

Stratagem System - Current Implementation (29 Stratagems)

Stratagem.php currently contains 29 stratagems, organized into the following categories:

Data Processing

| Stratagem | Description | |------|------| | sg_base64 | Base64 encoding/decoding | | sg_json | JSON processing | | sg_xml | XML processing | | sg_csv | CSV processing | | sg_hash | Hash computation | | sg_truncate | Text truncation | | sg_validate | Data validation | | sg_slug | URL slug generation |

Web Search

| Stratagem | Description | |------|------| | sg_duckduckgo | DuckDuckGo search | | sg_yacy | YaCy distributed search | | sg_newser | News aggregation and summarization | | sg_bocha | Bocha AI search | | sg_http | HTTP requests |

File Operations

| Stratagem | Description | |------|------| | sg_file | File read/write | | sg_template | Template rendering | | sg_editor | Editing and review |

Browser / CDP

| Stratagem | Description | |------|------| | sg_cdp | Chrome DevTools Protocol |

Proxy / Sub-Agent

| Stratagem | Description | |------|------| | sg_subagent_llm | Independent LLM sub-agent | | sg_steward | Steward (planning and management) | | sg_agent_core | Agent core components | | sg_longwriter | Long-form writing |

Utilities

| Stratagem | Description | |------|------| | sg_datetime | Date and time | | sg_random | Random numbers | | sg_uuid | UUID generation | | sg_memoize | Memoization cache | | sg_retry | Retry mechanism | | sg_env | Environment variables | | sg_yonglelib | Yongle Academy library | | sg_go_expert | Go expert |

--- *Source: stratagems directory of Stratagem.php*

Tags

#stratagem-system#llm-tools#agents#web-search#browser-automation#developer-tools

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/176922728