Tagged articles
token management
51 articles · Page 1 of 1
The article explains that MCP's URL elicitation moves sensitive interactions outside the client but is not a login mechanism for the MCP client itself; it handles third-party authorization for the server, requiring clear separation of the user's MCP client token, the server's third-party token, and task state, with proper binding and cleanup.
MCPOAuthURL elicitation
0 likes · 8 min read

The author tests ZCode's new Work mode across three real scenarios: cross-checking project reports against raw data tables, analyzing Xiaomi's 3-year financial reports by auto-downloading 1,141 pages from HKEX, and auditing 17 long documents in JavaGuide, revealing discrepancies, citation errors, and false claims, plus mobile remote control via Feishu and free night-token scheduling.
AI coding assistantFeishu integrationGLM
0 likes · 11 min read

This article explains why AI models lose accuracy in long conversations due to context degradation, detailing six failure mechanisms and five practical strategies—layered context organization, active compaction, retrieval over accumulation, state externalization, and selective retention—to maintain reliable, cost-effective LLM interactions for operations tasks.
AI reliabilityKV CacheLLM
0 likes · 67 min read

This article explains Anthropic's Prompt Caching mechanism including cache_control configuration, automatic vs explicit breakpoint caching, prefix hierarchy, 20-block lookback window, 4-breakpoint limit, TTL pricing (0.1x read, 1.25x/2x write), observability metrics, and Spring AI integration with code examples.
AI EngineeringAnthropicCache Control
0 likes · 11 min read

The article explains Claude Code’s Dynamic Workflows—how they let the model automatically generate and execute multi‑agent orchestration scripts, their technical architecture, differences from traditional multi‑agent frameworks, real‑world case studies, token‑consumption considerations, and how to answer interview questions about them.
AI agentsAgent orchestrationClaude Code
0 likes · 15 min read

Claude Code defines a loop as an agent repeatedly executing a work cycle until a stop condition is met; this article explains four loop patterns—round‑driven, goal‑driven, time‑driven, and proactive—detailing their triggers, stopping criteria, ideal tasks, token‑control strategies, and practical examples.
AI automationClaude CodePrompt engineering
0 likes · 13 min read

The article explains how Claude Code defines a loop as an agent repeatedly executing work until a termination condition is met, categorizes loops by trigger, termination, primitives, and task type, and provides concrete guidance for turn‑based, goal‑driven, timed, and proactive loops while showing how to control token usage and maintain code quality.
AI loopsAgentic ProgrammingAuto Mode
0 likes · 11 min read

This article presents a comprehensive guide to building a production-grade SMS verification login system, covering threat modeling, multi-layer rate limiting, state management with Redis, asynchronous message handling, multi‑provider routing, token issuance and operational monitoring to ensure security, cost control, and high availability.
ObservabilityOutboxSMS Verification
0 likes · 36 min read

The article explains Claude Code's definition of loops, breaks down four loop types—manual, goal‑based, timed, and proactive—provides concrete command examples, best‑practice tips for code quality and token management, and shows how to choose the right loop for your workflow.
AI automationAgentic LoopClaude Code
0 likes · 16 min read

When an AI agent runs for months, expired logs and test dialogs fill the token pool, diluting attention and causing contradictory answers; a three‑step freshness scoring and pruning process restores accuracy, cuts token waste by 70% and reduces task latency by 60%.
AI AgentContext PruningFreshness Scoring
0 likes · 8 min read

This article reviews the open‑source "claude-code-best-practice" repository, compares novice and expert usage of Claude Code, explains its core concepts, new features, workflow patterns, and highlights three immediately applicable tips such as token‑usage limits, structured planning, and proper hook usage.
AI coding assistantBest PracticesClaude Code
0 likes · 9 min read

Even though modern LLMs like DeepSeek‑V4, GPT‑5.5 and Claude Opus 4.7 support 1 million‑token windows, simply stuffing more data does not improve agent performance; effective Context Engineering—selecting, structuring, and managing the right information—remains essential for reliable results.
LLM AgentsMemoryPrompt engineering
0 likes · 32 min read

Most Claude Code users still manually chain prompts, yet the newly released dynamic workflow feature—explained through six core patterns and a fourteen‑step roadmap—offers isolated agents, model selection, token budgeting, and reusable skills to replace dozens of prompts with a single automated workflow.
AI agentsAnthropicClaude Code
0 likes · 16 min read

This article explains the Harness Engineering framework that equips AI agents with reliability, efficiency, security, and traceability, showing how to turn them from fragile prototypes into scalable, production‑ready tools through systematic context management, sandboxing, resource control, and data‑driven evolution.
AI AgentFunction CallingHarness Engineering
0 likes · 18 min read

The article explains that large language models have a limited context window, causing the “lost in the middle” effect where information in the middle of long inputs is ignored, and offers practical strategies such as using larger windows, chunking, summarizing, positioning key data, and caching to mitigate forgetting.
Context WindowPrompt engineeringRAG
0 likes · 12 min read

Claude Code’s Dynamic Workflows move the AI programming assistant from a single‑round subagent model to a JavaScript‑driven orchestration that can run up to 1,000 agents in the background, offering non‑blocking execution, adversarial quality checks, and reusable scripts while highlighting token costs and practical limits.
AI agentsClaude Codeautomation
0 likes · 13 min read

This article explains what CLAUDE.md is, why overly long files hurt Claude Code, how to write concise, verifiable rules, organize them hierarchically, use /init and /memory commands, and provides a practical template, backed by community data and Anthropic documentation.
AI agent configurationBest PracticesCLAUDE.md
0 likes · 24 min read

The article explains that Claude charges by token rather than message count, shows how token usage grows quadratically with each added message, and provides ten concrete habits—such as editing prompts, starting new chats, merging questions, using Projects, setting memory, disabling unused features, choosing the Haiku model, spreading work across the day, avoiding peak hours, and enabling overage protection—to dramatically reduce token consumption and cost.
AI CostAnthropicClaude
0 likes · 10 min read

The article explains Anthropic's official 5K‑token limit for SKILL.md files, breaks down the three‑level loading architecture, demonstrates progressive disclosure with concrete token calculations, and provides a step‑by‑step refactoring guide that reduces token usage while improving skill accuracy.
AI EngineeringAnthropicClaude
0 likes · 16 min read

In April 2026 an AI coding assistant (Cursor powered by Claude Opus 4.6) fetched a stray Railway token, called a GraphQL volumeDelete mutation, and erased PocketOS’s production database and its backups in about nine seconds, prompting a detailed post‑mortem on AI safety, token handling, and system guardrails.
AI agentsCursorOperations
0 likes · 9 min read

The article analyses OpenClaw’s rapid popularity and the resulting token‑explosion issue, classifies its causes into injection, repetition and black‑box types, then details how Harness‑level observability, layered memory management and progressive skill disclosure can monitor and cut token waste, with concrete Amazon Bedrock metrics and implementation tips.
AI agentsAmazon BedrockObservability
0 likes · 27 min read

An AI‑driven customer‑service bot that answered perfectly for two days suddenly started hallucinating because single‑turn prompt engineering ignored the continuous, stateful nature of real‑world conversations, revealing the hidden token, memory, and retrieval challenges that demand a new context‑engineering approach.
Conversation StateLLMPrompt engineering
0 likes · 14 min read

In a recent interview question about placing authentication tokens in Redis, experts debate the trade‑offs between pure JWT statelessness and Redis‑backed session control, covering security risks, performance, token revocation, sliding expiration, and practical implementation guidelines.
JWTStatelessredis
0 likes · 13 min read

The article analyzes the debate over placing JWT tokens in Redis, compares traditional session and JWT approaches, discusses security and performance trade‑offs, shows practical blacklist code, and explains when a centralized store is justified versus when true stateless JWTs are preferable.
AuthenticationJWTredis
0 likes · 13 min read

The article examines OpenClaw’s rapid rise, outlines concrete security risks such as prompt injection and skill‑market poisoning, and provides a step‑by‑step framework for defining use cases, isolating environments, limiting permissions, and maintaining cost‑effective, long‑term operation.
AI AgentOpenClawenvironment isolation
0 likes · 13 min read

The article reveals why AI expenses skyrocket, breaks down a typical $127 monthly bill, and presents four practical techniques—focused prompting, limiting documentation output, off‑loading concept learning to free tiers, and a tiered usage strategy—that together slash token usage and reduce costs to around $30 while improving delivery quality.
AI cost optimizationProductivityPrompt engineering
0 likes · 7 min read

This article details Deep Agents' context management implementation using SummarizationMiddleware, which automatically compresses conversation history during model calls by offloading old messages to backend storage and replacing them with generated summaries, including threshold configuration, cutoff determination, and the three message views that enable traceable, iterative summarization.
Agent MiddlewareBackend StorageContext Management
0 likes · 11 min read

This guide details a step‑by‑step, security‑first approach for safely experimenting with OpenClaw using a dedicated host, Tailscale private network, command whitelisting, read‑only tokens, and one‑way data flow, complete with configuration commands and emergency procedures.
AI agent securityOpenClawTailscale
0 likes · 12 min read

The article explains how AI development with large language models differs from traditional software engineering, why developers feel abstract and uncertain, and offers actionable strategies—such as micro‑prototyping, tiered model usage, simple evaluation sheets, and embracing throwaway code—to accelerate learning despite token costs.
LLMrapid prototypingtoken management
0 likes · 7 min read

The article examines why file system access is crucial for autonomous agents, outlining common context‑engineering failures such as missing, excessive, or irrelevant information, and demonstrates how using file‑system tools like ls, grep, and write‑file can reduce token waste, enable dynamic storage, improve targeted search, and support continual learning.
LLMSemantic Searchautonomous agents
0 likes · 11 min read

AgentCore Identity, an Amazon Bedrock service, offers centralized agent identity management, secure token storage, native OAuth 2.0 support, and fine-grained access control, enabling AI agents to authenticate users, retrieve and store credentials safely, and perform actions such as scheduling Google Calendar events through a detailed end-to-end flow.
AI agent securityAgentCore IdentityAmazon Bedrock
0 likes · 14 min read


21CTOSep 24, 2025 · Information Security
GitHub is tightening npm security by removing infected packages, enforcing two‑factor authentication for publishing, shortening token lifespans, and expanding trusted publishing to curb the Shai‑Hulud worm and protect the open‑source supply chain.
GitHubTrusted Publishingnpm
0 likes · 3 min read

This article explains the complete user login process, from mobile verification and automatic registration to token generation, validation, expiration policies, logout handling, anonymous access strategies, rate‑limiting via authorized tokens, path‑regex checks, and blacklist management, illustrated with diagrams and Java‑Spring code examples.
API Securityrate limitingtoken management
0 likes · 10 min read

This article examines the context explosion problem in AI agents and compares three distinct compression approaches—Manus's never‑lose philosophy, Claude Code's aggressive 92% threshold with eight‑section summaries, and Gemini CLI's balanced 70% trigger with curated history—highlighting their trade‑offs in performance, cost, and reliability.
AILLMagent design
0 likes · 19 min read

This article explains why enterprises need a single gateway for multiple large‑model services, introduces the open‑source OneAPI tool and its features, and provides step‑by‑step Docker installation, UI setup, channel and token configuration, optional Nginx proxy, and integration into an AI code‑review project.
AI code reviewDockerNGINX
0 likes · 11 min read

This article explains how to define token retrieval methods as pytest fixtures to reuse authentication tokens across multiple test cases, ensuring fresh tokens for each test and demonstrating fixture scope, cleanup, and global usage patterns.
API TestingAuthenticationPython testing
0 likes · 6 min read

This article walks through the complete process of implementing a custom login authentication in Spring Boot, including custom authentication filters, success/failure handlers, a token stored in Redis, role‑based URL security, and detailed configuration of Spring Security headers and session handling.
Custom AuthenticationJavaSpring Security
0 likes · 24 min read

This article explains how ChatGPT is integrated into the Columbus Instant Design low‑code platform, detailing the platform’s core capabilities, AI‑driven workflow for creating and modifying UI floors, implementation architecture, token management, and future development plans.
AI integrationChatGPTDSL
0 likes · 7 min read

This article outlines typical problems such as unreachable domains, signature errors, token expiration, timeouts, HTTP 500/404 responses, pagination inconsistencies, undocumented field changes, and billing issues, and provides practical troubleshooting and mitigation strategies for backend developers working with third‑party APIs.
API integrationerror handlingretry mechanism
0 likes · 15 min read

This article introduces LangChain, explains its modular architecture—including models, prompts, memory, chains, and agents—shows how to handle tokens and model selection, and provides complete Python code examples for building a conversational retrieval chatbot with OpenAI models.
EmbeddingLLMLangChain
0 likes · 20 min read

This article explains five common methods for storing authentication tokens during API automated testing—embedding in scripts, using environment variables, configuration files, databases, and secret management systems—and provides complete Python code samples for each approach.
API TestingBackendPython
0 likes · 6 min read

This article explains OAuth2 fundamentals, key terminology, and authorization flows, then guides you through setting up database tables, Spring Boot dependencies, resource and authorization server configurations, multiple grant types, token refresh, permission checks, and common pitfalls, providing complete code snippets and diagrams for a practical implementation.
AuthenticationAuthorization Code FlowOAuth2
0 likes · 17 min read


phodalMay 15, 2023 · Artificial Intelligence
This article reverse‑engineers GitHub Copilot's context construction, detailing visible and invisible processes, prompt composition, token allocation strategies, fast response mechanisms, and future directions for LLM context engineering.
AI code assistantGitHub CopilotLLM
0 likes · 11 min read

This article outlines typical problems such as domain inaccessibility, signature errors, token expiration, timeouts, HTTP 500/404 responses, inconsistent documentation, and provides practical debugging and mitigation strategies for developers working with third‑party API integrations.
API integrationBackenderror handling
0 likes · 15 min read

This article outlines the most frequent problems developers encounter when calling third‑party APIs—such as unreachable domains, signature errors, token expiration, timeouts, and inconsistent documentation—and provides practical solutions and best‑practice recommendations to keep integrations reliable.
API integrationRetry Logicerror handling
0 likes · 15 min read

This article explains how to overcome OpenAI's token limits by splitting massive insurance documents into manageable chunks, vectorizing them with embeddings, using a custom "broccoli" algorithm for intelligent segmentation, and compressing text with dictionary mapping and tokenization techniques to enable accurate question‑answering via the API.
APIDocument SplittingNLP
0 likes · 22 min read

This guide explains why mini‑programs need load testing, outlines three common testing scenarios, describes four test‑type designs, and provides step‑by‑step instructions for using Alibaba Cloud PTS to obtain platform tokens, configure APIs, and run stable, long‑duration pressure tests.
PTSPerformance Tuningload-testing
0 likes · 9 min read

The article outlines a microservice‑based user‑center architecture for handling over one hundred million users, detailing gateway, core, and async services, interface design, vertical and horizontal database sharding, token graceful degradation, multi‑layer password security, event‑driven async processing, and comprehensive monitoring for high availability, performance, and security.
High Availabilitybackend architecturedata security
0 likes · 14 min read

This article explains how to achieve consistent OAuth2 token handling across multiple clients and tenants by customizing the token key generation, overriding DefaultTokenServices logic, and configuring a RedisTokenStore with a custom AuthenticationKeyGenerator in a Spring Boot application.
JavaOAuth2Spring Security
0 likes · 5 min read

The guide explains how to combine WePY’s Vue‑style component model with Tencent Cloud Development—showing project initialization, cloud‑function setup, common pitfalls, and a token‑caching example—so developers can build and launch a full mini‑program in roughly 24 hours while competing for best‑practice prizes.
JavaScriptTencent Cloudcloud development
0 likes · 9 min read

This article shares practical insights on building robust user account systems, covering the shift from usernames to phone numbers as unique identifiers, the drawbacks of passwords, the limited value of periodic password changes, the pitfalls of security questions, and best practices for token management, SMS/voice verification, captcha usage, and multi‑layered future security strategies.
AuthenticationPasswordlessSMS Verification
0 likes · 14 min read
