From grimoire
Sequentially expands against multiple competitors by allying with distant actors to neutralize their rescue capability, then attacking near targets in order.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grimoire:apply-ally-far-attack-nearThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When expanding against multiple competitors sequentially, first identify which distant actors could intervene to rescue your immediate targets; form alliances with those distant actors to neutralise the rescue option; then attack near targets in sequence, closest first — because attacking without neutralising the rescue option allows any target to hold out until reinforced, and attacking distan...
When expanding against multiple competitors sequentially, first identify which distant actors could intervene to rescue your immediate targets; form alliances with those distant actors to neutralise the rescue option; then attack near targets in sequence, closest first — because attacking without neutralising the rescue option allows any target to hold out until reinforced, and attacking distant targets while near threats remain creates a two-front vulnerability that your opponents can exploit.
Origin: In approximately 266 BC, Fan Sui (范雎) was appointed as a minister to King Zhaoxiang of Qin (秦昭王). Qin had been pursuing an expansionist strategy but with limited systematic doctrine: attacking sometimes near, sometimes far, creating tactical victories without strategic accumulation. Fan Sui submitted a memorial to the king that identified the critical error: Qin had been attacking states far away (Qi, for example) while leaving the near states of Han and Wei intact. Any distant conquest was impossible to hold because Han and Wei were still strong enough to threaten Qin's flanks and disrupt supply lines to distant occupied territory. Fan Sui's doctrine: 远交近攻 — form distant alliances, attack near targets. His specific proposal: ally with Qi (distant, no direct territorial conflict with Qin) and attack Han and Wei (near, directly threatening Qin's expansion corridor). The logic was geometric: near states threaten your flanks and can interdict supply to distant occupied territory; distant states cannot be threatened by you (no direct territorial pressure) but can rescue near states if those near states are under attack. Eliminate the near threats first, with the distant alliance in place to prevent rescue. Then renegotiate the distant alliance from a position of increased strength.
Qin adopted this doctrine and executed it systematically over the following decades. By 221 BC — approximately 45 years after Fan Sui's memorial — Qin had unified all of China, eliminating each near state in sequence while managing alliances with more distant ones. The doctrine was not the only factor, but the systematic near-to-far sequencing was a consistent feature of Qin's conquest strategy.
Adopted by: The geometric logic of 远交近攻 recurs in the most successful sequential expansion strategies in both geopolitical and business history. Machiavelli identified the same principle in The Prince (1532): a prince expanding into territory should be wary of distant powerful allies who will intervene when they see a local balance of power threatened, and should therefore secure the alliance of those distant powers before attacking the intermediate states. Henry Kissinger's World Order (2014) documents the Nixon-Kissinger opening to China (1972) as a classic application of 远交近攻: the US was in conflict with the near adversary (North Vietnam, Soviet-proximate Southeast Asia) and strategically needed to neutralise the distant power (China) that had been providing the rescue option. By opening to China and establishing the US-China relationship, Nixon eliminated China as the distant rescuer of North Vietnam and put significant pressure on the Soviet Union (the other distant power), enabling a repositioning on the near front.
In technology markets, the logic operates through distribution and platform relationships. Amazon's expansion into new retail categories consistently follows a version of 远交近攻: form distribution or supply relationships with players in distant segments before directly competing with the near incumbent in a category. Amazon's entry into cloud services (AWS) used a similar pattern: maintain partner relationships with enterprise software vendors (distant) while attacking the near infrastructure incumbents (commodity hosting, small-scale data centres).
Impact: Qin's pre-doctrine campaigns (350–266 BC) produced zero net consolidated territory despite repeated military victories — distant gains were lost when near states recovered flanking positions. Post-doctrine (266–221 BC): all 6 rival states eliminated in 45 years via systematic near-to-far sequencing with managed far alliances. Porter (Competitive Strategy, 1980, ch. 4) documents the same dynamic in business: distributed simultaneous attacks fail to reach decisive thresholds in any single segment, extending time-to-market-dominance vs. concentrated sequential entry. The failure mode without far-alliance neutralisation is predictable: each near target holds out until reinforced, the attacker is drawn into prolonged engagement, and the two-front problem forces withdrawal or compromise. Neutralising the distant rescue option changes the near engagement from a prolonged siege to a rapid collapse.
Why best: The alternative to 远交近攻 when multiple competitors or markets exist is either (a) attacking the most attractive target regardless of distance — which preserves the rescue option and makes every near threat an ongoing liability — or (b) attacking all threats simultaneously — which distributes resources below the threshold needed to defeat any single target. Far-alliance, near-attack forces a sequential commitment that is geometrically sound: near threats cannot disrupt distant gains, and distant alliances prevent near targets from being rescued. The doctrine requires discipline to override the intuitive pull toward the most attractive target, but the geometric logic is hard to fault.
Sources: Sima Qian, Records of the Grand Historian 史记 — "Fan Sui Cai Ze Liezhuan" 范雎蔡泽列传 (~94 BC); Machiavelli, The Prince (1532); Kissinger, World Order (2014); Porter, Competitive Strategy (1980)
Near and far are not primarily geographic — they are strategic. A near competitor is one who directly contests your current or immediate next position: a player in the same market segment, customer base, or distribution channel. A far competitor is one who occupies a different segment and has no immediate territorial conflict with you, but who could plausibly intervene in a near engagement if it threatened the overall balance.
For each competitor or market, determine:
The rescue relationship is the critical mapping. A far competitor who has no rescue relationship with near competitors can be ignored. A far competitor who would rescue a near competitor — because that near competitor's survival is in the far competitor's interest — must be neutralised before the near attack begins.
The alliance with far actors must be real enough to make their intervention in a near engagement genuinely costly to them. A nominal alliance or courtesy relationship will not prevent a far actor from intervening if the near target's survival is sufficiently valuable to them.
What makes a far alliance effective:
The alliance does not require that the far actor support your attacks. It requires only that they do not rescue the near target. Neutrality is sufficient.
"Near" is a spectrum. Among the near actors who pose a threat, prioritise by proximity: attack the one whose disruption most directly limits your current operations. Do not distribute resources across multiple near targets simultaneously — each near engagement must be resolved before the next begins, to prevent the two-front problem from arising between near targets themselves.
For each near engagement:
The critical discipline: do not begin a near engagement and then divert resources to an opportunistic distant target before the near engagement is finished. Incomplete near engagements with active near threats are the primary failure mode.
Each near victory changes the geometry. A former far actor may become near once the intermediate states have been eliminated. Former allies may become competitors once the landscape shifts. After each near engagement:
The Qin state managed this renegotiation repeatedly: alliances with Qi that were useful while Wei was the primary target became irrelevant, and then competitive, as Qin's expansion approached Qi's territory. Managing the transition from ally to next target required patience, but the sequential logic demanded it.
远交近攻 is a doctrine for sequential expansion, not a permanent alliance strategy. The distant alliance is a means to an end: eliminating near threats without rescue. Once the near threats have been eliminated, the far allies may be the only remaining competitors — and the distance that made them useful allies now makes them the appropriate next targets.
This transition is the most politically sensitive moment in the doctrine's application:
Fan Sui and the unification of China (266–221 BC): Before Fan Sui's doctrine, Qin had fought expensive campaigns against distant Qi while Han and Wei — the near states in Qin's expansion corridor — remained intact and could threaten Qin's flanks. Fan Sui's memorial to King Zhaoxiang recommended the reversal: form alliance with Qi (distant, no direct territorial conflict), systematically attack Han and Wei (near). Qin adopted the doctrine and over the following decades eliminated Han and Wei, then Chu, Yan, Zhao, and finally Qi — each former distant ally becoming the next near target as the geometry shifted. By 221 BC, Qin had unified China. The doctrine was not the sole factor, but the systematic sequencing from near to far — with diplomatic management of the shifting alliances — was a structural feature of the campaign.
Nixon's opening to China (1972): The US was engaged in the Vietnam War, with North Vietnam (near adversary) being sustained in part by Chinese support (far power providing the rescue option). Nixon and Kissinger's opening to China in 1972 was a classic 远交近攻 move: by establishing the US-China relationship, the US reduced China's incentive to rescue North Vietnam and put pressure on the Soviet Union (which now faced a two-front dynamic with both the US and China). The near adversary in Southeast Asia lost a significant portion of its rescue relationship with the far power. The far alliance also created pressure on the Soviet Union that was instrumental in détente, resolving another near-region dynamic. The sequencing — neutralise distant powers' rescue capacity before completing near engagements — followed the doctrine closely.
SaaS company expanding across market segments: A B2B SaaS company with a core product in mid-market professional services wants to expand into enterprise and SMB. Its nearest competitor is Company B, which also operates in mid-market professional services. Company A (a large enterprise suite) could enter mid-market to rescue Company B if it felt threatened. Company C (a distant large horizontal player) has a partnership with Company B that could also provide rescue support. Before directly attacking Company B's customer base, the SaaS company forms a partnership with Company A (integration partner, not competitor, in different enterprise segment — far alliance) and replaces Company C's partnership with its own deeper integration (far alliance). With Company A's rescue option neutralised through the partnership and Company C's relationship replaced, the SaaS company attacks Company B's customer base directly — without the rescue options that would have sustained Company B in a prolonged competition.
Geographic expansion sequencing: A retail chain is dominant in the South but wants to expand nationally. Northeastern retailers (far) have expressed interest in partnerships. Midwestern retailers (near) compete directly for overlapping supply chains and customer profiles. If the chain attacks the Northeast first (attractive market), the Midwestern retailers — who are threatened by the chain's general expansion — may form defensive alliances or price against the chain in the South while it is distracted. By forming partnership agreements with the Northeastern retailers first (making them partners rather than potential rescuers of Midwestern competitors), then consolidating the Midwest completely, the chain eliminates the near threat before approaching the Northeast — which then becomes a straightforward market entry rather than a two-front competition.
Attacking the most attractive target instead of the nearest threat: The natural pull is toward the largest market, the highest-value competitor, or the best-looking opportunity — regardless of proximity. This preserves near threats on your flanks throughout the distant engagement. The discipline of 远交近攻 requires attacking the near threat first, even when the distant opportunity appears more valuable. The distant opportunity will still be available after the near threats are resolved; the near threat will compound while you are distracted by the distant target.
Assuming a nominal relationship is a genuine alliance: A courtesy relationship, expressed mutual interest, or non-binding partnership agreement does not constitute a far alliance in the relevant sense. The far actor will rescue the near target if the near target's survival is sufficiently valuable and the cost of rescue is low. A genuine alliance makes rescue costly — through mutual dependency, shared interest, or explicit commitment. Verify the rescue option is genuinely neutralised before proceeding with the near attack.
Misjudging near vs. far strategically: Companies in different geographies or different industry sectors may be near in the strategic sense if they contest the same customer or distribution. Companies in the same geography may be far if they operate in completely different segments without a rescue relationship. The classification must be done on competitive overlap and rescue relationship, not on surface indicators.
Distributing resources across near targets simultaneously: Attacking multiple near targets at once divides resources below the decisive threshold needed to defeat any one of them quickly, prolongs each engagement, and creates a window for far actors to reconsider their neutrality — since no engagement is progressing fast enough to signal inevitable victory. Concentrate on the single nearest target until it is fully resolved.
Forgetting to renegotiate alliances after geometry changes: After each near victory, the landscape changes. Former far allies may become the next near targets. Failing to anticipate this transition — and being caught by surprise when a former ally builds defensive alliances against you — is the most common failure in the mature phase of sequential expansion. Map the post-victory geometry before the victory is achieved, and begin the diplomatic preparation for the transition early.
npx claudepluginhub jeffreytse/grimoire --plugin grimoireMaps competitive fronts to identify the one viable sequence of achievable positions when direct competition is impossible. Based on Zhuge Liang's Longzhong Plan.
Routes to the correct strategy skill for adversarial, competitive, or negotiation situations. After framing the challenge, it directs to specialized skills like terrain analysis, intelligence auditing, timing, force economy, or positioning.